1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-30 08:47:36 +00:00

Meta+CI: Use wabt version 1.0.23 for all CI jobs

The WASM spec tests caused a stack overflow when generated with wat2wasm
version 1.0.23, which ships with homebrew. To give feature parity,
manually download the same version from GitHub packages for Ubuntu.

Document the dependencies of the WASM spec tests option, as well.
This commit is contained in:
Andrew Kaster 2021-07-10 20:03:17 -06:00 committed by Ali Mohammad Pur
parent f7c7954314
commit 8ae425cec8
2 changed files with 7 additions and 2 deletions

View file

@ -209,9 +209,14 @@ jobs:
run: |
sudo apt-get purge -y clang-11
sudo apt-get update
sudo apt-get install ninja-build wabt
sudo apt-get install ninja-build
sudo update-alternatives --install /usr/bin/clang clang /usr/bin/clang-12 100
sudo update-alternatives --install /usr/bin/clang++ clang++ /usr/bin/clang++-12 100
# Install wabt tools from github packages
wget https://github.com/WebAssembly/wabt/releases/download/1.0.23/wabt-1.0.23-ubuntu.tar.gz
tar -xzf ./wabt-1.0.23-ubuntu.tar.gz
rm ./wabt-1.0.23-ubuntu.tar.gz
echo "$PWD/wabt-1.0.23/bin" >> $GITHUB_PATH
if: ${{ runner.os == 'Linux' }}
- name: Install macOS dependencies
run: brew install ninja wabt