Skip to content

Commit

Permalink
ci: Run on two FFMPEG versions
Browse files Browse the repository at this point in the history
- ffmpeg 4.4 on Ubuntu 22.04 (Jammy)
- ffmpeg 6.1 on Ubuntu 24.04 (Noble)
  • Loading branch information
projectgus authored and kornelski committed Dec 7, 2024
1 parent e186fc8 commit 6fa3fe5
Showing 1 changed file with 13 additions and 7 deletions.
20 changes: 13 additions & 7 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,17 @@ env:

jobs:
build:
runs-on: ubuntu-latest

strategy:
matrix:
include:
- os: ubuntu-24.04 # "noble", ffmpeg 6.1
ffmpeg_feature: "ffmpeg_6_0"
- os: ubuntu-22.04 # "jammy", ffmpeg 4.4
ffmpeg_feature: "ffmpeg_4_4"
runs-on: ${{ matrix.os }}
steps:
- name: Install ffmpeg
run: sudo apt-get -y install ffmpeg pkg-config libavutil-dev libavformat-dev libavfilter-dev libavdevice-dev
- uses: actions/checkout@v4
- name: Run tests
run: cargo test --all --verbose --features=ffmpeg_4_4
- name: Install ffmpeg
run: sudo apt-get -y install ffmpeg pkg-config libavutil-dev libavformat-dev libavfilter-dev libavdevice-dev
- uses: actions/checkout@v4
- name: Run tests
run: cargo test --all --verbose --features=${{ matrix.ffmpeg_feature }}

0 comments on commit 6fa3fe5

Please sign in to comment.