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