Skip to content

Commit a390601

Browse files
committed
Coverity CI: sync with master YAML
1 parent 8d15eb5 commit a390601

File tree

1 file changed

+18
-7
lines changed

1 file changed

+18
-7
lines changed

.github/workflows/coverity-scan.yml

Lines changed: 18 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -45,29 +45,40 @@ jobs:
4545
if: ${{ env.coverity_token }}
4646

4747
- name: Fetch SDKs ETags
48-
if: ${{ env.coverity_token }}
4948
id: etags
5049
run: |
5150
$GITHUB_WORKSPACE/.github/scripts/get-etag.sh ndi\
52-
https://downloads.ndi.tv/SDK/NDI_SDK_Linux/Install_NDI_SDK_v6_Linux.\
53-
tar.gz >> $GITHUB_OUTPUT
51+
https://downloads.ndi.tv/SDK/NDI_SDK_Linux/\
52+
Install_NDI_SDK_v6_Linux.tar.gz >> $GITHUB_OUTPUT
5453
- name: Run actions/cache for NDI
55-
if: ${{ env.coverity_token }}
5654
id: cache-ndi
5755
uses: actions/cache@main
5856
with:
5957
path: /var/tmp/Install_NDI_SDK_Linux.tar.gz
6058
key: cache-ndi-${{ runner.os }}-${{ steps.etags.outputs.ndi }}
6159
- name: Download NDI
62-
if: ${{ env.coverity_token }} && steps.cache-ndi.outputs.cache-hit != 'true'
60+
if: steps.cache-ndi.outputs.cache-hit != 'true'
6361
run: "curl -Lf https://downloads.ndi.tv/SDK/NDI_SDK_Linux/\
6462
Install_NDI_SDK_v6_Linux.tar.gz -o /var/tmp/Install_NDI_SDK_Linux.tar.gz"
65-
63+
- name: Cache FFmpeg
64+
uses: actions/cache@main
65+
with:
66+
path: '/var/tmp/ffmpeg'
67+
key: cache-ffmpeg-${{ runner.os }}-${{ hashFiles( '.github/scripts/Linux/install_ffmpeg.sh', '.github/scripts/Linux/install_other.sh', '.github/scripts/Linux/ffmpeg-patches/*') }}
68+
- name: Cache SDL
69+
uses: actions/cache@main
70+
with:
71+
path: '/var/tmp/sdl'
72+
key: cache-sdl-${{ runner.os }}-${{ hashFiles( '.github/scripts/Linux/install_sdl.sh' ) }}
73+
- name: Cache GLFW
74+
uses: actions/cache@main
75+
with:
76+
path: '/var/tmp/glfw'
77+
key: cache-glfw-${{ runner.os }}-${{ hashFiles( '.github/scripts/Linux/install_glfw.sh' ) }}
6678
- name: bootstrap
6779
run: |
6880
. .github/scripts/environment.sh
6981
.github/scripts/Linux/prepare.sh
70-
sudo apt install libavcodec-dev libavformat-dev libswscale-dev libfluidsynth-dev libsdl2-ttf-dev
7182
7283
- name: configure
7384
if: ${{ env.coverity_token }}

0 commit comments

Comments
 (0)