summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorSam Clegg <sbc@chromium.org>2022-03-09 06:36:44 +0000
committerGitHub <noreply@github.com>2022-03-08 22:36:44 -0800
commiteed958b7d04d9e542e8522426b7b8e01508db100 (patch)
treefe4350379316f2ed43336d0a9f22ef553f2898af /.github
parentd774f3a153310f3124bf70e16db78371f06a0641 (diff)
downloadwabt-eed958b7d04d9e542e8522426b7b8e01508db100.tar.gz
wabt-eed958b7d04d9e542e8522426b7b8e01508db100.tar.bz2
wabt-eed958b7d04d9e542e8522426b7b8e01508db100.zip
Build and run wasm2c-generated code under sanitizers in CI. NFC (#1856)
Split out from #1843
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/build.yml2
1 files changed, 2 insertions, 0 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 45fe876f..18f923e6 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -84,6 +84,7 @@ jobs:
runs-on: ubuntu-latest
env:
USE_NINJA: "1"
+ WASM2C_CFLAGS: "-fsanitize=address"
steps:
- uses: actions/setup-python@v1
with:
@@ -102,6 +103,7 @@ jobs:
runs-on: ubuntu-latest
env:
USE_NINJA: "1"
+ WASM2C_CFLAGS: "-fsanitize=undefined"
steps:
- uses: actions/setup-python@v1
with: