From eed958b7d04d9e542e8522426b7b8e01508db100 Mon Sep 17 00:00:00 2001 From: Sam Clegg Date: Wed, 9 Mar 2022 06:36:44 +0000 Subject: Build and run wasm2c-generated code under sanitizers in CI. NFC (#1856) Split out from #1843 --- .github/workflows/build.yml | 2 ++ 1 file changed, 2 insertions(+) (limited to '.github') 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: -- cgit v1.2.3