Skip to content

Commit 6d1acf1

Browse files
author
admin
committed
CI
1 parent 3a06bfc commit 6d1acf1

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

.github/workflows/ci.yml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ jobs:
2929
- ffmpeg_version: "7.1"
3030
feature: "rsmpeg"
3131
fail-fast: false
32-
max-parallel: 2
3332

3433
steps:
3534
- name: Checkout
@@ -48,8 +47,6 @@ jobs:
4847

4948
- name: Run Test
5049
run: cargo test --features ${{ matrix.feature }} --verbose -- --nocapture
51-
env:
52-
RUST_BACKTRACE: 1
5350

5451
build-macos:
5552
name: build / macos / latest ffmpeg
@@ -61,26 +58,27 @@ jobs:
6158

6259
- name: Install dependencies
6360
run: |
64-
brew install ffmpeg pkg-config
61+
brew install ffmpeg opencv pytorch pkg-config
6562
6663
- name: Setup Rust
6764
uses: dtolnay/rust-toolchain@stable
6865

6966
- name: Build
70-
run: cargo build --features ${{ matrix.feature }} --verbose
67+
run: cargo build --verbose
7168

7269
- name: Run Test
73-
run: cargo test --features ${{ matrix.feature }} --verbose -- --nocapture
74-
env:
75-
RUST_BACKTRACE: 1
70+
run: cargo test --verbose -- --nocapture
7671

7772
build-windows:
7873
name: build / windows / latest ffmpeg
7974
runs-on: windows-latest
75+
strategy:
76+
matrix:
77+
include:
78+
- feature: "rsmpeg"
8079

8180
env:
8281
FFMPEG_DOWNLOAD_URL: https://www.gyan.dev/ffmpeg/builds/ffmpeg-release-full-shared.7z
83-
RUST_BACKTRACE: 1
8482

8583
steps:
8684
- name: Checkout
@@ -107,12 +105,14 @@ jobs:
107105

108106
- name: Run Test
109107
run: cargo test --features ${{ matrix.feature }} --verbose -- --nocapture
110-
env:
111-
RUST_BACKTRACE: 1
112108

113109
test:
114110
runs-on: ubuntu-latest
115111
container: jrottenberg/ffmpeg:7.1-ubuntu
112+
strategy:
113+
matrix:
114+
include:
115+
- feature: "rsmpeg"
116116

117117
steps:
118118
- name: Checkout
@@ -153,4 +153,4 @@ jobs:
153153
run: cargo fmt --all -- --check
154154

155155
- name: Clippy
156-
run: cargo clippy --all --features ${{ matrix.feature }} -- -D warnings
156+
run: cargo clippy --all-features -- -D warnings

0 commit comments

Comments
 (0)