From 0e4431af33dfdbac24bf932e7a9137da73174511 Mon Sep 17 00:00:00 2001 From: Ali Mohammad Pur Date: Wed, 26 May 2021 23:04:52 +0430 Subject: 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. --- .github/workflows/cmake.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to '.github/workflows') 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 === -- cgit v1.2.3