Skip to content

Commit ec384ad

Browse files
author
Enrico Martelli
committed
Add macOS support for FFmpeg setup in CI by installing Docker
1 parent 1e731ea commit ec384ad

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/unit-test.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,11 @@ jobs:
2525

2626
# bump: ffmpeg-ci /static-ffmpeg:([\d.]+)/ docker:mwader/static-ffmpeg|~7.0
2727
- name: Setup FFmpeg
28+
shell: bash
2829
run: |
30+
if [ "$RUNNER_OS" == "macOS" ]; then
31+
brew install docker
32+
fi
2933
docker run --rm -v "$PWD:/out" $(echo -e 'FROM alpine\nCOPY --from=mwader/static-ffmpeg:7.0.2 /ff* /\nENTRYPOINT cp /ff* /out' | docker build -q -)
3034
echo "$PWD" >> "$GITHUB_PATH"
3135

0 commit comments

Comments
 (0)