@@ -74,30 +74,26 @@ jobs:
74
74
- name : Install Rust
75
75
run : rustup update stable
76
76
- name : Install cross
77
- uses : taiki-e/install-action@v2
78
- with :
79
- # https://github.com/cross-rs/cross/issues/724
80
-
77
+ uses : taiki-e/install-action@cross
78
+ # We don't test BSDs, since we already test them in Cirrus/vmactions.
81
79
- name : Android
82
80
if : startsWith(matrix.os, 'ubuntu')
83
81
run : cross test --target arm-linux-androideabi
84
- - name : NetBSD
85
- if : startsWith(matrix.os, 'ubuntu')
86
- run : cross build --target x86_64-unknown-netbsd
87
- - name : FreeBSD
88
- if : startsWith(matrix.os, 'ubuntu')
89
- run : cross build --target x86_64-unknown-freebsd
90
82
- name : iOS
91
83
if : startsWith(matrix.os, 'macos')
92
- run : cross build --target aarch64-apple-ios
84
+ run : |
85
+ rustup target add aarch64-apple-ios
86
+ cross build --target aarch64-apple-ios
93
87
- name : Linux x32
94
88
if : startsWith(matrix.os, 'ubuntu')
95
- run : cross check --target x86_64-unknown-linux-gnux32
89
+ run : |
90
+ rustup target add x86_64-unknown-linux-gnux32
91
+ cross check --target x86_64-unknown-linux-gnux32
96
92
- name : Fuchsia
97
93
if : startsWith(matrix.os, 'ubuntu')
98
94
run : |
99
- rustup target add x86_64-fuchsia
100
- cargo build --target x86_64-fuchsia
95
+ rustup target add x86_64-unknown- fuchsia
96
+ cargo build --target x86_64-unknown- fuchsia
101
97
- name : illumos
102
98
if : startsWith(matrix.os, 'ubuntu')
103
99
run : |
0 commit comments