From 18058e9a8f812ba637ad01a9a7954b677029d10a Mon Sep 17 00:00:00 2001 From: Zhiming Wang Date: Mon, 10 Aug 2020 22:22:30 +0800 Subject: [PATCH] build.yml: drop ffmpegxy feature flags and build/test/lint examples --- .github/workflows/build.yml | 20 ++++---------------- 1 file changed, 4 insertions(+), 16 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index dec543d..279f6c9 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -11,20 +11,8 @@ jobs: container: jrottenberg/ffmpeg:${{ matrix.ffmpeg_version }}-ubuntu strategy: matrix: - include: - - ffmpeg_version: '3.4' - ffmpeg_version_feature: - - ffmpeg_version: '4.0' - ffmpeg_version_feature: ffmpeg4 - - ffmpeg_version: '4.1' - ffmpeg_version_feature: ffmpeg41 - - ffmpeg_version: '4.2' - ffmpeg_version_feature: ffmpeg42 - - ffmpeg_version: '4.3' - ffmpeg_version_feature: ffmpeg43 + ffmpeg_version: ["3.4", "4.0", "4.1", "4.2", "4.3"] fail-fast: false - env: - FEATURES: ${{ matrix.ffmpeg_version_feature }},codec,device,filter,format,postprocessing,software-resampling,software-scaling steps: - uses: actions/checkout@v2 - name: Install dependencies @@ -39,13 +27,13 @@ jobs: components: rustfmt, clippy - name: Build run: | - cargo build --no-default-features --features $FEATURES + cargo build --examples - name: Test run: | - cargo test --no-default-features --features $FEATURES + cargo test --examples - name: Lint run: | - cargo clippy --no-default-features --features $FEATURES -- -D warnings + cargo clippy --examples -- -D warnings - name: Check format run: | cargo fmt -- --check