diff options
author | Erik Scholz <Green-Sky@users.noreply.github.com> | 2023-03-26 17:48:40 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-26 15:48:40 +0000 |
commit | 34c1072e497eb92d81ee7c0e12aa6741496a41c6 (patch) | |
tree | dcdca8805d6b5db00b2ae3d284a43e65548312ba /.github/workflows | |
parent | 939ad2d3a56815f480b6fd5ea432a7ee576a7e6b (diff) |
ci: add debug build to sanitizer build matrix (#527)
Diffstat (limited to '.github/workflows')
-rw-r--r-- | .github/workflows/build.yml | 6 |
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 |