Skip to content

Commit e4bbd1f

Browse files
author
Enrico Martelli
committed
Remove macOS from CI matrix and adjust FFmpeg setup to use Linux platform
1 parent ec384ad commit e4bbd1f

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

.github/workflows/unit-test.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
strategy:
1919
fail-fast: false
2020
matrix:
21-
os: [ ubuntu-latest, windows-latest, macos-13 ] # pin macos to latest x64 image
21+
os: [ ubuntu-latest, windows-latest ]
2222
steps:
2323
- name: Checkout code changes
2424
uses: actions/checkout@v4
@@ -27,10 +27,7 @@ jobs:
2727
- name: Setup FFmpeg
2828
shell: bash
2929
run: |
30-
if [ "$RUNNER_OS" == "macOS" ]; then
31-
brew install docker
32-
fi
33-
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 -)
30+
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 --platform=linux -q -)
3431
echo "$PWD" >> "$GITHUB_PATH"
3532
3633
- name: Setup Java

0 commit comments

Comments
 (0)