aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErik Scholz <Green-Sky@users.noreply.github.com>2023-03-26 17:48:40 +0200
committerGitHub <noreply@github.com>2023-03-26 15:48:40 +0000
commit34c1072e497eb92d81ee7c0e12aa6741496a41c6 (patch)
treedcdca8805d6b5db00b2ae3d284a43e65548312ba
parent939ad2d3a56815f480b6fd5ea432a7ee576a7e6b (diff)
ci: add debug build to sanitizer build matrix (#527)
-rw-r--r--.github/workflows/build.yml6
1 files 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