Skip to content

Commit 7f09111

Browse files
Merge pull request #55 from Polochon-street/add-proper-ffmpeg6-ci
Add proper 6.0 CI support
2 parents 5de9a30 + 7d08e28 commit 7f09111

File tree

1 file changed

+1
-38
lines changed

1 file changed

+1
-38
lines changed

.github/workflows/build.yml

+1-38
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
container: jrottenberg/ffmpeg:${{ matrix.ffmpeg_version }}-ubuntu
1212
strategy:
1313
matrix:
14-
ffmpeg_version: ['3.3', '3.4', '4.0', '4.1', '4.2', '4.3', '4.4', '5.0', '5.1']
14+
ffmpeg_version: ['3.3', '3.4', '4.0', '4.1', '4.2', '4.3', '4.4', '5.0', '5.1', '6.0']
1515
fail-fast: false
1616
env:
1717
FEATURES: avcodec,avdevice,avfilter,avformat,postproc,swresample,swscale
@@ -39,40 +39,3 @@ jobs:
3939
- name: Check format
4040
run: |
4141
cargo fmt -- --check
42-
# Added only because there is no ffmpeg6 docker image here yet
43-
# https://github.com/jrottenberg/ffmpeg
44-
build-test-lint-latest:
45-
name: FFmpeg Latest - build, test and lint
46-
runs-on: ubuntu-latest
47-
strategy:
48-
fail-fast: false
49-
env:
50-
FEATURES: avcodec,avdevice,avfilter,avformat,postproc,swresample,swscale
51-
steps:
52-
- uses: actions/checkout@v2
53-
- name: Install dependencies
54-
run: |
55-
sudo apt update
56-
sudo apt install -y software-properties-common
57-
sudo add-apt-repository -y ppa:savoury1/ffmpeg6
58-
sudo add-apt-repository -y ppa:savoury1/ffmpeg4
59-
sudo apt update
60-
sudo apt install -y --no-install-recommends clang curl pkg-config ffmpeg libavutil-dev libavcodec-dev libavformat-dev libavfilter-dev libavfilter-dev libavdevice-dev libswresample-dev
61-
- name: Set up Rust
62-
uses: actions-rs/toolchain@v1
63-
with:
64-
toolchain: stable
65-
override: true
66-
components: rustfmt, clippy
67-
- name: Build
68-
run: |
69-
cargo build --features $FEATURES
70-
- name: Test
71-
run: |
72-
cargo test --features $FEATURES
73-
- name: Lint
74-
run: |
75-
cargo clippy --features $FEATURES -- -D warnings
76-
- name: Check format
77-
run: |
78-
cargo fmt -- --check

0 commit comments

Comments
 (0)