Skip to content

Commit 3551ede

Browse files
committed
Add Wasm CI
1 parent f638f55 commit 3551ede

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

.github/workflows/build.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,12 @@ jobs:
3030
vcpkg_triplet: arm64-osx-min1100-release
3131
vcpkg_host_triplet: x64-osx-min1015-release
3232
check_disk_space: df -h
33+
- os: ubuntu-latest
34+
vcpkg_path: /home/runner/mixxx-vcpkg
35+
vcpkg_bootstrap: ./bootstrap-vcpkg.sh
36+
vcpkg_triplet: wasm32-emscripten-pthread-release
37+
vcpkg_host_triplet: x64-linux-release
38+
check_disk_space: df -h
3339
env:
3440
VCPKG_DEFAULT_TRIPLET: ${{ matrix.vcpkg_triplet }}
3541
VCPKG_DEFAULT_HOST_TRIPLET: ${{ matrix.vcpkg_host_triplet }}
@@ -82,6 +88,12 @@ jobs:
8288
brew update && brew install nasm autoconf-archive
8389
/bin/bash -c "sudo xcode-select --switch /Applications/Xcode_12.4.app/Contents/Developer"
8490
xcrun --show-sdk-version
91+
92+
- name: Install Emscripten SDK
93+
if: startsWith(matrix.vcpkg_triplet, 'wasm32-') || startsWith(matrix.vcpkg_triplet, 'wasm64-')
94+
uses: mymindstorm/setup-emsdk@v14
95+
with:
96+
version: '3.1.55'
8597

8698
- name: Check available disk space
8799
run: ${{ matrix.check_disk_space }}

0 commit comments

Comments
 (0)