Skip to content

Commit 2a2cae5

Browse files
committed
Fix CI?
1 parent 8839c31 commit 2a2cae5

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/CI-linux.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,7 @@ jobs:
146146
eatmydata apt install clang-format-${{ inputs.compiler-version }} clang-tidy-${{ inputs.compiler-version }}
147147
148148
eatmydata apt install curl gpg
149+
mkdir /etc/apt/sources.list.d
149150
echo 'deb https://ftp.gwdg.de//pub/opensuse/repositories/graphics%3A/darktable%3A/master/Debian_Unstable/ /' | tee /etc/apt/sources.list.d/rawspeed.list
150151
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
151152
apt update
@@ -283,6 +284,7 @@ jobs:
283284
fi
284285
"${SRC_DIR}/.ci/ci-script.sh"
285286
- name: Build
287+
id: build
286288
timeout-minutes: ${{ inputs.flavor != 'ClangTidy' && (inputs.flavor != 'CodeQLAnalysis' && 7 || 12) || 25 }}
287289
env:
288290
SRC_DIR: ${{ github.workspace }}/rawspeed
@@ -394,7 +396,7 @@ jobs:
394396
"${SRC_DIR}/.ci/ci-script.sh"
395397
- name: Perform clang-tidy static analysis
396398
timeout-minutes: 1
397-
if: inputs.flavor == 'ClangTidy' && !cancelled()
399+
if: inputs.flavor == 'ClangTidy' && !cancelled() && steps.build.conclusion != 'skipped'
398400
env:
399401
SRC_DIR: ${{ github.workspace }}/rawspeed
400402
BUILD_DIR: ${{ github.workspace }}/rawspeed-build
@@ -519,7 +521,7 @@ jobs:
519521
overwrite: true
520522
- name: Perform CodeQL static analysis
521523
timeout-minutes: 11
522-
if: inputs.flavor == 'CodeQLAnalysis' && !cancelled()
524+
if: inputs.flavor == 'CodeQLAnalysis' && !cancelled() && steps.build.conclusion != 'skipped'
523525
uses: github/codeql-action/analyze@v3
524526
- name: Perform SonarCloud static analysis
525527
timeout-minutes: 6

0 commit comments

Comments
 (0)