summaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorKeith Winstein <keithw@cs.stanford.edu>2022-12-02 10:22:08 -0800
committerGitHub <noreply@github.com>2022-12-02 10:22:08 -0800
commited0b720c97ec6cc70b1dc33151b5dcadf12c31f4 (patch)
tree896ebbe4548b2fa34cd9662095b099241a81fca2 /.github/workflows
parentdbb81d7ce7cc24239abfdeae393eacb18b8ee93b (diff)
downloadwabt-ed0b720c97ec6cc70b1dc33151b5dcadf12c31f4.tar.gz
wabt-ed0b720c97ec6cc70b1dc33151b5dcadf12c31f4.tar.bz2
wabt-ed0b720c97ec6cc70b1dc33151b5dcadf12c31f4.zip
build.yml: check wasm2c running with software memchecks (#2095)
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/build.yml18
1 files changed, 18 insertions, 0 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 4d853165..684f589b 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -119,6 +119,24 @@ jobs:
- run: make test-clang-debug-ubsan
- run: make test-clang-release-ubsan
+ build-wasm2c-memchecked:
+ name: wasm2c-memchecked
+ runs-on: ubuntu-22.04
+ env:
+ USE_NINJA: "1"
+ CC: "clang" # used by the wasm2c tests
+ WASM2C_CFLAGS: "-fsanitize=address -DWASM_RT_MEMCHECK_SIGNAL_HANDLER=0"
+ steps:
+ - uses: actions/setup-python@v1
+ with:
+ python-version: '3.x'
+ - uses: actions/checkout@v1
+ with:
+ submodules: true
+ - run: sudo apt-get install ninja-build
+ - run: make clang-debug-asan
+ - run: make test-clang-debug-asan
+
build-min-cmake:
name: min-cmake
runs-on: ubuntu-latest