Skip to content

Commit

Permalink
Update rust-ci.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
jamjamjon authored Sep 11, 2024
1 parent b142dd1 commit 1916337
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/rust-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,21 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install FFmpeg (Ubuntu)
if: runner.os == 'Linux'
run: |
sudo apt update
sudo apt install -y clang libavcodec-dev libavformat-dev libavutil-dev pkg-config
- name: Install FFmpeg (macOS)
if: runner.os == 'macOS'
run: brew install pkg-config ffmpeg
- name: Install FFmpeg (Windows)
if: runner.os == 'Windows'
run: |
$FFMPEG_URL = "https://www.gyan.dev/ffmpeg/builds/ffmpeg-release-full-shared.7z"
Invoke-WebRequest -Uri $FFMPEG_URL -OutFile ffmpeg.7z
7z x ffmpeg.7z -o./ffmpeg
$env:Path += ";$(pwd)/ffmpeg/bin"
- uses: actions-rs/toolchain@v1
with:
profile: minimal
Expand Down

0 comments on commit 1916337

Please sign in to comment.