Skip to content

Commit fb131b6

Browse files
committed
pin emscripten on ci
this might call for another composite... second attempt at pinning emscripten
1 parent 3cdcf7c commit fb131b6

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

.github/workflows/minimal-ci.yml

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -143,13 +143,15 @@ jobs:
143143
rust: nightly
144144

145145
- name: "Install emscripten"
146+
env:
147+
EMSCRIPTEN_SRC_REF: 4.0.13
148+
EMSCRIPTEN_VERSION: 3.1.74
146149
run: |
147-
git clone https://github.com/emscripten-core/emsdk.git
148-
pushd emsdk
149-
./emsdk install 3.1.74
150-
./emsdk activate 3.1.74
151-
source ./emsdk_env.sh
152-
popd
150+
git clone https://github.com/emscripten-core/emsdk.git --depth 1 --branch $EMSCRIPTEN_SRC_REF --single-branch
151+
./emsdk/emsdk install $EMSCRIPTEN_VERSION
152+
./emsdk/emsdk activate $EMSCRIPTEN_VERSION
153+
source ./emsdk/emsdk_env.sh
154+
echo PATH=$PATH >> $GITHUB_ENV
153155
154156
- name: "Test (Wasm)"
155157
run: ./check.sh testweb

0 commit comments

Comments
 (0)