Skip to content

Commit

Permalink
CI: update emscripten to latest release
Browse files Browse the repository at this point in the history
  • Loading branch information
wirew0rm committed Oct 9, 2023
1 parent e39c0ec commit aa92ce1
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,10 +88,10 @@ jobs:
cd
git clone --depth=1 https://github.com/emscripten-core/emsdk.git
cd emsdk
# Download and install the latest SDK tools.
./emsdk install releases-bf3c159888633d232c0507f4c76cc156a43c32dc-64bit
# Make the "latest" SDK "active" for the current user. (writes .emscripten file)
./emsdk activate releases-bf3c159888633d232c0507f4c76cc156a43c32dc-64bit
# Download and install emscripten.
./emsdk install 3.1.43 # 07/2023 (latest = 3.1.46 -> 09/2023)
# Make "active" for the current user. (writes .emscripten file)
./emsdk activate 3.1.43
- name: Install sonar-scanner and build-wrapper
if: matrix.configurations.compiler == 'gcc12' && matrix.cmake-build-type == 'Debug'
Expand All @@ -107,8 +107,9 @@ jobs:
if: matrix.configurations.compiler == 'emscripten'
shell: bash
run: |
export SYSTEM_NODE=`which node` # use system node instead of old version distributed with emsdk for threading support
source ~/emsdk/emsdk_env.sh
emcmake cmake -S . -B ../build -DCMAKE_BUILD_TYPE=${{ matrix.cmake-build-type }} -DENABLE_COVERAGE=OFF
emcmake cmake -S . -B ../build -DCMAKE_BUILD_TYPE=${{ matrix.cmake-build-type }} -DENABLE_COVERAGE=OFF -DCMAKE_CROSSCOMPILING_EMULATOR=${SYSTEM_NODE}
- name: Build
if: matrix.configurations.compiler != 'gcc12' || matrix.cmake-build-type != 'Debug'
Expand Down

0 comments on commit aa92ce1

Please sign in to comment.