From e6e74b0325d2762757a4e18d4e628e6421d7357d Mon Sep 17 00:00:00 2001 From: kamilsa Date: Wed, 5 Mar 2025 15:02:22 +0500 Subject: [PATCH 1/2] Update test.yml --- .github/workflows/test.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 76aa425633..203b8fbccf 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -83,6 +83,10 @@ jobs: - name: "MacOS WAVM: Build Debug" build_type: "Debug" wasm_compiler: "WAVM" + - name: "MacOS: Build Debug ASAN" + build_type: "Debug" + wasm_compiler: "WasmEdge" + sanitizer: "-DASAN=ON" name: "${{ matrix.options.name }}" steps: - uses: actions/checkout@v4 @@ -96,7 +100,7 @@ jobs: env: KAGOME_MAC_CI: 1 - name: build - run: ./housekeeping/make_build.sh -G Ninja -DCMAKE_BUILD_TYPE=${{ matrix.options.build_type }} -DCLEAR_OBJS=ON -DCOVERAGE=OFF -DWASM_COMPILER=${{ matrix.options.wasm_compiler }} -DCMAKE_TOOLCHAIN_FILE=cmake/toolchain/cxx20.cmake + run: ./housekeeping/make_build.sh -G Ninja -DCMAKE_BUILD_TYPE=${{ matrix.options.build_type }} -DCLEAR_OBJS=ON -DCOVERAGE=OFF -DWASM_COMPILER=${{ matrix.options.wasm_compiler }} ${{ matrix.options.sanitizer || '' }} -DCMAKE_TOOLCHAIN_FILE=cmake/toolchain/cxx20.cmake env: KAGOME_IN_DOCKER: 0 KAGOME_MAC_CI: 1 From 7bec1448730082681bb63e70ecb9b58c46f8d9c8 Mon Sep 17 00:00:00 2001 From: kamilsa Date: Wed, 5 Mar 2025 15:38:40 +0500 Subject: [PATCH 2/2] Add -DMallocNanoZone=0 --- .github/workflows/test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 203b8fbccf..368dded3fb 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -86,7 +86,7 @@ jobs: - name: "MacOS: Build Debug ASAN" build_type: "Debug" wasm_compiler: "WasmEdge" - sanitizer: "-DASAN=ON" + sanitizer: "-DASAN=ON -DMallocNanoZone=0" name: "${{ matrix.options.name }}" steps: - uses: actions/checkout@v4