summaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorAli Mohammad Pur <ali.mpfard@gmail.com>2021-05-26 23:04:52 +0430
committerAli Mohammad Pur <Ali.mpfard@gmail.com>2021-05-27 17:28:41 +0430
commit0e4431af33dfdbac24bf932e7a9137da73174511 (patch)
treee5f3a6e95ee6f55efbf18072162c2a5a2aec2cd6 /.github/workflows
parent13c15148897afee146cb1e200056409fed0b67c3 (diff)
downloadserenity-0e4431af33dfdbac24bf932e7a9137da73174511.zip
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.
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/cmake.yml8
1 files changed, 4 insertions, 4 deletions
diff --git a/.github/workflows/cmake.yml b/.github/workflows/cmake.yml
index dd4b35ab3c..db1fccfc2b 100644
--- a/.github/workflows/cmake.yml
+++ b/.github/workflows/cmake.yml
@@ -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 ===