@@ -146,6 +146,7 @@ jobs:
146
146
eatmydata apt install clang-format-${{ inputs.compiler-version }} clang-tidy-${{ inputs.compiler-version }}
147
147
148
148
eatmydata apt install curl gpg
149
+ mkdir /etc/apt/sources.list.d
149
150
echo 'deb https://ftp.gwdg.de//pub/opensuse/repositories/graphics%3A/darktable%3A/master/Debian_Unstable/ /' | tee /etc/apt/sources.list.d/rawspeed.list
150
151
curl -fsSL https://download.opensuse.org/repositories/graphics:darktable:master/Debian_Unstable/Release.key | gpg --dearmor | tee /etc/apt/trusted.gpg.d/graphics_darktable_master.gpg > /dev/null
151
152
apt update
@@ -283,6 +284,7 @@ jobs:
283
284
fi
284
285
"${SRC_DIR}/.ci/ci-script.sh"
285
286
- name : Build
287
+ id : build
286
288
timeout-minutes : ${{ inputs.flavor != 'ClangTidy' && (inputs.flavor != 'CodeQLAnalysis' && 7 || 12) || 25 }}
287
289
env :
288
290
SRC_DIR : ${{ github.workspace }}/rawspeed
@@ -394,7 +396,7 @@ jobs:
394
396
"${SRC_DIR}/.ci/ci-script.sh"
395
397
- name : Perform clang-tidy static analysis
396
398
timeout-minutes : 1
397
- if : inputs.flavor == 'ClangTidy' && !cancelled()
399
+ if : inputs.flavor == 'ClangTidy' && !cancelled() && steps.build.conclusion != 'skipped'
398
400
env :
399
401
SRC_DIR : ${{ github.workspace }}/rawspeed
400
402
BUILD_DIR : ${{ github.workspace }}/rawspeed-build
@@ -519,7 +521,7 @@ jobs:
519
521
overwrite : true
520
522
- name : Perform CodeQL static analysis
521
523
timeout-minutes : 11
522
- if : inputs.flavor == 'CodeQLAnalysis' && !cancelled()
524
+ if : inputs.flavor == 'CodeQLAnalysis' && !cancelled() && steps.build.conclusion != 'skipped'
523
525
uses : github/codeql-action/analyze@v3
524
526
- name : Perform SonarCloud static analysis
525
527
timeout-minutes : 6
0 commit comments