From 34c1072e497eb92d81ee7c0e12aa6741496a41c6 Mon Sep 17 00:00:00 2001 From: Erik Scholz Date: Sun, 26 Mar 2023 17:48:40 +0200 Subject: [PATCH] ci: add debug build to sanitizer build matrix (#527) --- .github/workflows/build.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 2538d85..26b4519 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -72,6 +72,8 @@ jobs: strategy: matrix: sanitizer: [ADDRESS, THREAD, UNDEFINED] + build_type: [Debug, Release] + accelerate: [ON, OFF] steps: - name: Clone @@ -89,8 +91,8 @@ jobs: run: | mkdir build cd build - cmake .. -DLLAMA_SANITIZE_${{ matrix.sanitizer }}=ON - cmake --build . --config Release + cmake .. -DLLAMA_SANITIZE_${{ matrix.sanitizer }}=ON -DCMAKE_BUILD_TYPE=${{ matrix.build_type }} -DLLAMA_ACCELERATE=${{ matrix.accelerate }} + cmake --build . --config ${{ matrix.build_type }} - name: Test id: cmake_test