Skip to content

Commit 96347b2

Browse files
committed
Install host dependencies in CI when building on Linux
1 parent b075585 commit 96347b2

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

.github/workflows/build.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,11 @@ jobs:
8989
/bin/bash -c "sudo xcode-select --switch /Applications/Xcode_12.4.app/Contents/Developer"
9090
xcrun --show-sdk-version
9191
92-
- name: Install Emscripten SDK
92+
- name: "[Linux] Set up build environment"
93+
if: runner.os == 'Linux'
94+
run: sudo apt-get install -y autoconf-archive nasm '^libxcb.*-dev' libx11-xcb-dev libgl1-mesa-dev libglu1-mesa-dev libxrender-dev libxi-dev libxkbcommon-dev libxkbcommon-x11-dev mesa-common-dev
95+
96+
- name: "[Emscripten] Install SDK"
9397
if: startsWith(matrix.vcpkg_triplet, 'wasm32-') || startsWith(matrix.vcpkg_triplet, 'wasm64-')
9498
uses: mymindstorm/setup-emsdk@v14
9599
with:

0 commit comments

Comments
 (0)