Skip to content

Commit 34c1072

Browse files
authored
ci: add debug build to sanitizer build matrix (#527)
1 parent 939ad2d commit 34c1072

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/build.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,8 @@ jobs:
7272
strategy:
7373
matrix:
7474
sanitizer: [ADDRESS, THREAD, UNDEFINED]
75+
build_type: [Debug, Release]
76+
accelerate: [ON, OFF]
7577

7678
steps:
7779
- name: Clone
@@ -89,8 +91,8 @@ jobs:
8991
run: |
9092
mkdir build
9193
cd build
92-
cmake .. -DLLAMA_SANITIZE_${{ matrix.sanitizer }}=ON
93-
cmake --build . --config Release
94+
cmake .. -DLLAMA_SANITIZE_${{ matrix.sanitizer }}=ON -DCMAKE_BUILD_TYPE=${{ matrix.build_type }} -DLLAMA_ACCELERATE=${{ matrix.accelerate }}
95+
cmake --build . --config ${{ matrix.build_type }}
9496
9597
- name: Test
9698
id: cmake_test

0 commit comments

Comments
 (0)