Skip to content

Commit

Permalink
Move emscripten CI build to macOS
Browse files Browse the repository at this point in the history
As the Ubuntu 22.04 emscripten does not support various C++20 features
we would like to use.
  • Loading branch information
randombit committed Sep 28, 2023
1 parent 0a183f3 commit e44de31
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ jobs:
host_os: macos-13
- target: emscripten
compiler: emcc
host_os: ubuntu-22.04
host_os: macos-13

runs-on: ${{ matrix.host_os }}

Expand Down
2 changes: 2 additions & 0 deletions src/scripts/ci/setup_gh_actions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,8 @@ else

if [ "$TARGET" = "shared" ]; then
brew install boost
elif [ "$TARGET" = "emscripten" ]; then
brew install emscripten
fi

sudo xcrun xcode-select --switch '/Applications/Xcode_15.0.app/Contents/Developer'
Expand Down

0 comments on commit e44de31

Please sign in to comment.