Skip to content

Commit

Permalink
Skip running clang-tidy checks in the first fast build
Browse files Browse the repository at this point in the history
  • Loading branch information
Jakuje committed Apr 2, 2024
1 parent 6fe8955 commit 2718b4c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .github/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,9 @@ else
# normal procedure

CONFIGURE_FLAGS="--disable-dependency-tracking --enable-doc"
if [ "$1" != "clang-tidy" ]; then
CONFIGURE_FLAGS="$CONFIGURE_FLAGS CLANGTIDY=/bin/no-clang-tidy"
fi
if [ "$1" == "piv-sm" ]; then
CONFIGURE_FLAGS="$CONFIGURE_FLAGS --enable-piv-sm"
fi
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -339,7 +339,7 @@ jobs:
path: ./*
key: ${{ runner.os }}-${{ github.sha }}
- run: .github/setup-linux.sh clang-tidy
- run: .github/build.sh
- run: .github/build.sh clang-tidy

test-cac:
runs-on: ubuntu-20.04
Expand Down

0 comments on commit 2718b4c

Please sign in to comment.