Skip to content

Commit 82f81f0

Browse files
committed
Move clang-tidy build task
Signed-off-by: Raul Metsma <[email protected]>
1 parent b8d744c commit 82f81f0

File tree

1 file changed

+17
-17
lines changed

1 file changed

+17
-17
lines changed

.github/workflows/linux.yml

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,23 @@ jobs:
131131
path:
132132
win32/Output/OpenSC*.exe
133133

134+
build-clang-tidy:
135+
runs-on: ubuntu-24.04
136+
needs: [build]
137+
steps:
138+
- uses: awalsh128/[email protected]
139+
with:
140+
packages: ${{ env.BASE_DEPS }}
141+
version: apt-24.04-amd64-base
142+
execute_install_scripts: true
143+
- uses: actions/cache@v4
144+
id: cache-build
145+
with:
146+
path: ./*
147+
key: ${{ runner.os }}-24.04-amd64-valgrind-${{ github.sha }}
148+
- run: .github/setup-linux.sh clang-tidy
149+
- run: .github/build.sh clang-tidy
150+
134151
test-java:
135152
name: test-${{ matrix.target }}${{ matrix.ver }}-${{ matrix.dist }}-${{ matrix.build }}
136153
strategy:
@@ -161,23 +178,6 @@ jobs:
161178
- run: .github/test-${{ matrix.target }}.sh ${{ matrix.ver }}
162179
- run: .github/test-${{ matrix.target }}.sh ${{ matrix.ver }} valgrind
163180

164-
build-clang-tidy:
165-
runs-on: ubuntu-24.04
166-
needs: [build]
167-
steps:
168-
- uses: awalsh128/[email protected]
169-
with:
170-
packages: ${{ env.BASE_DEPS }}
171-
version: apt-24.04-amd64-base
172-
execute_install_scripts: true
173-
- uses: actions/cache@v4
174-
id: cache-build
175-
with:
176-
path: ./*
177-
key: ${{ runner.os }}-24.04-amd64-valgrind-${{ github.sha }}
178-
- run: .github/setup-linux.sh clang-tidy
179-
- run: .github/build.sh clang-tidy
180-
181181
test:
182182
name: test-${{ matrix.target }}-${{ matrix.dist }}
183183
strategy:

0 commit comments

Comments
 (0)