Skip to content

Commit 03b0c6d

Browse files
committed
BLD: Fix cppcheck on GitHub
1 parent 27abcee commit 03b0c6d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/build.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,13 +24,13 @@ jobs:
2424
sudo apt-get install libpcre3 libpcre3-dev libzstd-dev ninja-build
2525
- name: Install cppcheck
2626
run: |
27-
git clone https://github.com/danmar/cppcheck.git
27+
git clone https://github.com/danmar/cppcheck.git --branch 2.14.1
2828
cd cppcheck
2929
cmake -S. -B build \
3030
-DCMAKE_BUILD_TYPE=Release \
31-
-DUSE_MATCHCOMPILER=On \
31+
-DUSE_MATCHCOMPILER=ON \
3232
-DHAVE_RULES=ON
33-
cmake --build build --config Release
33+
cmake --build build --config Release --parallel
3434
sudo cmake --install build --prefix /usr
3535
- name: Install gtest
3636
uses: MarkusJx/googletest-installer@v1.1
@@ -94,6 +94,6 @@ jobs:
9494
-DVCPKG_BUILD_TYPE=debug `
9595
-DDATABENTO_USE_EXTERNAL_GTEST=0
9696
- name: CMake build
97-
run: cmake --build build --parallel 10
97+
run: cmake --build build --parallel
9898
- name: Unit tests
9999
run: cd build && ctest --verbose --exclude-regex cmake

0 commit comments

Comments
 (0)