Skip to content

Commit

Permalink
Install ffmpeg using OS-specific tools
Browse files Browse the repository at this point in the history
  • Loading branch information
kokorin committed Aug 26, 2024
1 parent 38b830f commit 60d05bb
Showing 1 changed file with 11 additions and 5 deletions.
16 changes: 11 additions & 5 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,11 +54,17 @@ jobs:
.artifacts
key: ${{ runner.os }}-artifacts-${{ hashFiles('**/Artifacts.java') }}

- uses: FedericoCarboni/setup-ffmpeg@v3
id: setup-ffmpeg
with:
ffmpeg-version: release
linking-type: static
- name: Install ffmpeg on Ubuntu
run: sudo apt-get update && sudo apt-get install -y ffmpeg
if: startsWith(matrix.os, 'ubuntu')

- name: Install ffmpeg on MacOS
run: brew install ffmpeg
if: startsWith(matrix.os, 'macos')

- name: Install ffmpeg on Windows
run: winget install ffmpeg --accept-package-agreements
if: startsWith(matrix.os, 'windows')

- run: ffmpeg -version

Expand Down

0 comments on commit 60d05bb

Please sign in to comment.