Skip to content

Commit dbeefa6

Browse files
author
Enrico Martelli
committed
Update unit test workflow to use Docker create and cp for FFmpeg setup
1 parent eaaa037 commit dbeefa6

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

.github/workflows/FFmpeg.dockerfile

Lines changed: 0 additions & 3 deletions
This file was deleted.

.github/workflows/unit-test.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,10 @@ jobs:
2626
- name: Setup FFmpeg
2727
shell: bash
2828
run: |
29-
docker run --rm -v "$PWD:/out" --experimental $(docker build -q -f .github/workflows/FFmpeg.dockerfile .)
29+
docker create --name ffmpeg mwader/static-ffmpeg:7.0.2
30+
docker cp ffmpeg:/usr/local/bin/ffmpeg ffmpeg
31+
docker cp ffmpeg:/usr/local/bin/ffprobe ffprobe
32+
docker rm -f ffmpeg
3033
echo "$PWD" >> "$GITHUB_PATH"
3134
3235
- name: Setup Java

Bumpfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
ffmpeg /static-ffmpeg:([\d.]+)/ docker:mwader/static-ffmpeg|~7.0
22
qodana /qodana-jvm:([\d.]+)/ docker:jetbrains/qodana-jvm|/^[\d]{4}\.\d+$/|sort
33

4-
.github/workflows/FFmpeg.dockerfile
4+
.github/workflows/unit-test.yml
55
Dockerfile
66
qodana.yaml

0 commit comments

Comments
 (0)