File tree 1 file changed +8
-4
lines changed
1 file changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ name: iOS - Build and test Rust FFI (mullvad-ios)
3
3
on :
4
4
pull_request :
5
5
paths :
6
- - .github/workflows/clippy .yml
6
+ - .github/workflows/ios-rust-ffi .yml
7
7
- clippy.toml
8
8
- ' **/*.rs'
9
9
workflow_dispatch :
@@ -22,14 +22,17 @@ jobs:
22
22
with :
23
23
toolchain : stable
24
24
target : ${{ matrix.target }}
25
+ default : true
25
26
26
27
- name : Build and test crates
27
28
shell : bash
28
29
env :
29
30
RUSTFLAGS : --deny warnings
31
+ # NOTE: Tests actually target macOS here. This is because we do not have an iOS runner
32
+ # handy.
30
33
run : |
31
34
source env.sh
32
- time cargo build --locked --verbose --lib -p mullvad-ios
35
+ time cargo build --locked --verbose --lib -p mullvad-ios --target ${{ matrix.target }}
33
36
time cargo test --locked --verbose --lib -p mullvad-ios
34
37
35
38
clippy-check-ios :
@@ -46,12 +49,13 @@ jobs:
46
49
with :
47
50
toolchain : stable
48
51
target : ${{ matrix.target }}
52
+ default : true
49
53
50
54
- name : Clippy check
51
55
shell : bash
52
56
env :
53
57
RUSTFLAGS : --deny warnings
54
58
run : |
55
59
source env.sh
56
- time cargo clippy --locked --all-targets --no-default-features -p mullvad-ios
57
- time cargo clippy --locked --all-targets --all-features -p mullvad-ios
60
+ time cargo clippy --locked --all-targets --no-default-features -p mullvad-ios --target ${{ matrix.target }}
61
+ time cargo clippy --locked --all-targets --all-features -p mullvad-ios --target ${{ matrix.target }}
You can’t perform that action at this time.
0 commit comments