From 148dda7caec7f5d21a743c49d039618ac92cdc8b Mon Sep 17 00:00:00 2001 From: Krzysiek Karbowiak Date: Thu, 6 Mar 2025 16:01:12 +0100 Subject: [PATCH 1/3] Rename CI job --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8ec6270f..6c3643db 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -64,8 +64,8 @@ jobs: - name: CMake build run: cmake --build build --parallel - sanitisers: - name: "sanitisers" + clang-sanitisers: + name: "clang-sanitisers" runs-on: ubuntu-24.04 steps: - uses: actions/checkout@v4 From de109b71d0a875966a844d0b4282d75b6ffb5ef2 Mon Sep 17 00:00:00 2001 From: Krzysiek Karbowiak Date: Thu, 6 Mar 2025 16:01:35 +0100 Subject: [PATCH 2/3] Add ASan MSVC job to CI --- .github/workflows/ci.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6c3643db..7a3d5ddc 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -76,6 +76,18 @@ jobs: - name: CMake build run: cmake --build build --parallel --target run-unit-test + msvc-sanitisers: + name: "msvc-sanitisers" + runs-on: windows-latest + steps: + - uses: actions/checkout@v4 + + - name: CMake configure + run: cmake -Bbuild -DCMAKE_BUILD_TYPE=Debug -DCMAKE_C_COMPILER=cl -DCMAKE_CXX_COMPILER=cl -DCMAKE_CXX_FLAGS=/fsanitize=address + + - name: CMake build + run: cmake --build build --parallel --target run-unit-test + valgrind: name: "Valgrind" runs-on: ubuntu-24.04 From 7f6aac7ac53b11bc05948f47dbc14a714688297d Mon Sep 17 00:00:00 2001 From: Krzysiek Karbowiak Date: Thu, 6 Mar 2025 16:07:05 +0100 Subject: [PATCH 3/3] Enable exceptions --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7a3d5ddc..ee570857 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -83,7 +83,7 @@ jobs: - uses: actions/checkout@v4 - name: CMake configure - run: cmake -Bbuild -DCMAKE_BUILD_TYPE=Debug -DCMAKE_C_COMPILER=cl -DCMAKE_CXX_COMPILER=cl -DCMAKE_CXX_FLAGS=/fsanitize=address + run: cmake -Bbuild -DCMAKE_BUILD_TYPE=Debug -DCMAKE_C_COMPILER=cl -DCMAKE_CXX_COMPILER=cl -DCMAKE_CXX_FLAGS="/fsanitize=address /EHsc" - name: CMake build run: cmake --build build --parallel --target run-unit-test