File tree Expand file tree Collapse file tree 1 file changed +35
-0
lines changed Expand file tree Collapse file tree 1 file changed +35
-0
lines changed Original file line number Diff line number Diff line change 3838 run : |
3939 cargo fmt -- --check
4040
41+ # Remove when ffmpeg 6.0 is available here https://github.com/jrottenberg/ffmpeg/
42+ build-test-lint-linux-latest :
43+ name : Linux - Latest ffmpeg - build, test and lint
44+ runs-on : ubuntu-latest
45+ strategy :
46+ fail-fast : false
47+ steps :
48+ - uses : actions/checkout@v2
49+ - name : Install dependencies
50+ run : |
51+ sudo apt update
52+ sudo apt install -y software-properties-common
53+ sudo add-apt-repository -y ppa:savoury1/ffmpeg6
54+ sudo add-apt-repository -y ppa:savoury1/ffmpeg4
55+ sudo apt update
56+ 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
57+ - name : Set up Rust
58+ uses : actions-rs/toolchain@v1
59+ with :
60+ toolchain : stable
61+ override : true
62+ components : rustfmt, clippy
63+ - name : Build
64+ run : |
65+ cargo build --examples
66+ - name : Test
67+ run : |
68+ cargo test --examples
69+ - name : Lint
70+ run : |
71+ cargo clippy --examples -- -D warnings
72+ - name : Check format
73+ run : |
74+ cargo fmt -- --check
75+
4176 build-test-lint-macos :
4277 name : macOS - FFmpeg latest - build, test and lint
4378 runs-on : macos-latest
You can’t perform that action at this time.
0 commit comments