Skip to content

Commit

Permalink
ci: Use slightly older emscripten for now (#297)
Browse files Browse the repository at this point in the history
An update to emscripten brought a newer compiler and that found
a longstanding bug in Z3 that broke compilation.

For now, use a slightly older version until a new version of
Z3 (after 4.13.0) is released with the fix.

See Z3Prover/z3#7235 for the Z3 fix.
  • Loading branch information
waywardmonkeys authored May 29, 2024
1 parent aa58ed2 commit cb7b79a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ env:
CARGO_INCREMENTAL: 0
CARGO_REGISTRIES_CRATES_IO_PROTOCOL: sparse
RUSTFLAGS: "-D warnings"
EMSCRIPTEN_VERSION: "3.1.59" # Change back to `latest` once Z3 4.13.1 or later is out.

jobs:
check-formatting:
Expand Down Expand Up @@ -52,8 +53,8 @@ jobs:
git clone https://github.com/emscripten-core/emsdk.git
cd emsdk
git pull
./emsdk install latest
./emsdk activate latest
./emsdk install ${{ env.EMSCRIPTEN_VERSION }}
./emsdk activate ${{ env.EMSCRIPTEN_VERSION }}
source ./emsdk_env.sh
- name: Install wasm32-unknown-emscripten target
run: rustup target add wasm32-unknown-emscripten
Expand Down

0 comments on commit cb7b79a

Please sign in to comment.