File tree Expand file tree Collapse file tree 1 file changed +12
-12
lines changed Expand file tree Collapse file tree 1 file changed +12
-12
lines changed Original file line number Diff line number Diff line change 29
29
- ffmpeg_version : " 7.1"
30
30
feature : " rsmpeg"
31
31
fail-fast : false
32
- max-parallel : 2
33
32
34
33
steps :
35
34
- name : Checkout
48
47
49
48
- name : Run Test
50
49
run : cargo test --features ${{ matrix.feature }} --verbose -- --nocapture
51
- env :
52
- RUST_BACKTRACE : 1
53
50
54
51
build-macos :
55
52
name : build / macos / latest ffmpeg
@@ -61,26 +58,27 @@ jobs:
61
58
62
59
- name : Install dependencies
63
60
run : |
64
- brew install ffmpeg pkg-config
61
+ brew install ffmpeg opencv pytorch pkg-config
65
62
66
63
- name : Setup Rust
67
64
uses : dtolnay/rust-toolchain@stable
68
65
69
66
- name : Build
70
- run : cargo build --features ${{ matrix.feature }} -- verbose
67
+ run : cargo build --verbose
71
68
72
69
- name : Run Test
73
- run : cargo test --features ${{ matrix.feature }} --verbose -- --nocapture
74
- env :
75
- RUST_BACKTRACE : 1
70
+ run : cargo test --verbose -- --nocapture
76
71
77
72
build-windows :
78
73
name : build / windows / latest ffmpeg
79
74
runs-on : windows-latest
75
+ strategy :
76
+ matrix :
77
+ include :
78
+ - feature : " rsmpeg"
80
79
81
80
env :
82
81
FFMPEG_DOWNLOAD_URL : https://www.gyan.dev/ffmpeg/builds/ffmpeg-release-full-shared.7z
83
- RUST_BACKTRACE : 1
84
82
85
83
steps :
86
84
- name : Checkout
@@ -107,12 +105,14 @@ jobs:
107
105
108
106
- name : Run Test
109
107
run : cargo test --features ${{ matrix.feature }} --verbose -- --nocapture
110
- env :
111
- RUST_BACKTRACE : 1
112
108
113
109
test :
114
110
runs-on : ubuntu-latest
115
111
container : jrottenberg/ffmpeg:7.1-ubuntu
112
+ strategy :
113
+ matrix :
114
+ include :
115
+ - feature : " rsmpeg"
116
116
117
117
steps :
118
118
- name : Checkout
@@ -153,4 +153,4 @@ jobs:
153
153
run : cargo fmt --all -- --check
154
154
155
155
- name : Clippy
156
- run : cargo clippy --all -- features ${{ matrix.feature }} -- -D warnings
156
+ run : cargo clippy --all- features -- -D warnings
You can’t perform that action at this time.
0 commit comments