Skip to content

Commit d347667

Browse files
committed
Added scan-build to CI
1 parent 4b3c87a commit d347667

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/build.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ jobs:
55
strategy:
66
fail-fast: false
77
matrix:
8-
os: [ubuntu-latest, macos-latest]
8+
os: [ubuntu-latest, macos-26]
99
runs-on: ${{ matrix.os }}
1010
steps:
1111
- uses: actions/checkout@v6
@@ -33,6 +33,9 @@ jobs:
3333
sudo apt-get install valgrind
3434
valgrind --leak-check=yes --error-exitcode=1 build/test
3535
36+
- if: ${{ runner.os == 'macOS' }}
37+
run: /opt/homebrew/opt/llvm@20/bin/scan-build --status-bugs cmake --build build --clean-first
38+
3639
# test install
3740
- run: rm -r build
3841
- run: cmake -S . -B build

0 commit comments

Comments
 (0)