mirror of
https://github.com/RGBCube/serenity
synced 2025-07-30 09:17:36 +00:00
Meta: Run the Wasm spec tests in CI
Since LibWasm is still not capable of passing all of the spec tests, ignore failing tests, only fail the build if some segfault/abort/etc occurs.
This commit is contained in:
parent
13c1514889
commit
0e4431af33
5 changed files with 54 additions and 35 deletions
8
.github/workflows/cmake.yml
vendored
8
.github/workflows/cmake.yml
vendored
|
@ -198,15 +198,15 @@ jobs:
|
|||
sudo add-apt-repository "deb http://apt.llvm.org/focal/ llvm-toolchain-focal-12 main"
|
||||
sudo apt-get purge -y clang-10 clang-11
|
||||
sudo apt-get update
|
||||
sudo apt-get install clang-12 ninja-build
|
||||
sudo apt-get install clang-12 ninja-build binaryen
|
||||
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
|
||||
if: ${{ runner.os == 'Linux' }}
|
||||
- name: Install macOS dependencies
|
||||
run: brew install ninja
|
||||
run: brew install ninja binaryen
|
||||
if: ${{ runner.os == 'macOS' }}
|
||||
- name: Check versions
|
||||
run: set +e; clang --version; clang++ --version; ninja --version
|
||||
run: set +e; clang --version; clang++ --version; ninja --version; wasm-as --version
|
||||
|
||||
# === PREPARE FOR BUILDING ===
|
||||
|
||||
|
@ -227,7 +227,7 @@ jobs:
|
|||
run: |
|
||||
mkdir -p Build
|
||||
cd Build
|
||||
cmake -GNinja -DBUILD_LAGOM=ON -DENABLE_UNDEFINED_SANITIZER=ON -DENABLE_ADDRESS_SANITIZER=ON -DENABLE_PCI_IDS_DOWNLOAD=OFF -DCMAKE_C_COMPILER=gcc-10 -DCMAKE_CXX_COMPILER=g++-10 ..
|
||||
cmake -GNinja -DBUILD_LAGOM=ON -DINCLUDE_WASM_SPEC_TESTS=ON -DWASM_SPEC_TEST_SKIP_FORMATTING=ON -DENABLE_UNDEFINED_SANITIZER=ON -DENABLE_ADDRESS_SANITIZER=ON -DENABLE_PCI_IDS_DOWNLOAD=OFF -DCMAKE_C_COMPILER=gcc-10 -DCMAKE_CXX_COMPILER=g++-10 ..
|
||||
if: ${{ matrix.with-fuzzers == 'NO_FUZZ' }}
|
||||
|
||||
# === ACTUALLY BUILD AND TEST ===
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue