Skip to content

Commit 06d04b7

Browse files
Ad cplint workflow support for minimal lint-only builds
1 parent 614dbfa commit 06d04b7

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/ci-lint.yaml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,13 @@ jobs:
3030
key: apply-linters-${{ runner.os }}
3131
max-size: 1000M
3232

33-
- name: Build (Ubuntu 22.04)
33+
- name: Minimal Lint Setup
3434
run: |
35-
tools/ci-build.sh
35+
sudo apt-get update
36+
sudo apt-get install -y cmake g++ python3-pip clang-format
37+
pip3 install -r requirements.txt
38+
mkdir -p build && cd build
39+
cmake .. -DCMAKE_LINT_ONLY=ON
3640
3741
- name: Run cpplint on C/C++ files.
3842
run: cmake --build build --target cpplint

0 commit comments

Comments
 (0)