|
11 | 11 | container: jrottenberg/ffmpeg:${{ matrix.ffmpeg_version }}-ubuntu
|
12 | 12 | strategy:
|
13 | 13 | 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'] |
15 | 15 | fail-fast: false
|
16 | 16 | env:
|
17 | 17 | FEATURES: avcodec,avdevice,avfilter,avformat,postproc,swresample,swscale
|
|
39 | 39 | - name: Check format
|
40 | 40 | run: |
|
41 | 41 | 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