@@ -118,9 +118,12 @@ jobs:
118
118
# portable.
119
119
# Specifically choose `aarch64-pc-windows-msvc` since it was new in
120
120
# *ring* 0.17.
121
+ - aarch64-apple-darwin
121
122
- aarch64-pc-windows-msvc
122
123
- arm-unknown-linux-gnueabihf
123
124
- i686-pc-windows-msvc
125
+ - riscv64gc-unknown-linux-gnu
126
+ - wasm32-wasi
124
127
- x86_64-unknown-linux-musl
125
128
- x86_64-unknown-linux-gnu
126
129
@@ -137,6 +140,9 @@ jobs:
137
140
- beta
138
141
139
142
include :
143
+ - target : aarch64-apple-darwin
144
+ host_os : macos-13-xlarge
145
+
140
146
- target : aarch64-pc-windows-msvc
141
147
host_os : windows-latest
142
148
# GitHub Actions doesn't have a way to run this target yet.
@@ -148,12 +154,30 @@ jobs:
148
154
- target : i686-pc-windows-msvc
149
155
host_os : windows-latest
150
156
157
+ - target : riscv64gc-unknown-linux-gnu
158
+ host_os : ubuntu-22.04
159
+
160
+ - target : wasm32-wasi
161
+ host_os : ubuntu-22.04
162
+
151
163
- target : x86_64-unknown-linux-musl
152
164
host_os : ubuntu-22.04
153
165
154
166
- target : x86_64-unknown-linux-gnu
155
167
host_os : ubuntu-22.04
156
168
169
+ # rcgen requires *ring* 0.16 which doesn't support this target.
170
+ - target : aarch64-pc-windows-msvc
171
+ skip_rcgen : true
172
+ - target : riscv64gc-unknown-linux-gnu
173
+ skip_rcgen : true
174
+ - target : wasm32-wasi
175
+ skip_rcgen : true
176
+
177
+ - rust_channel : 1.61.0
178
+ # rcgen requires Rust 1.67.
179
+ skip_rcgen : true
180
+
157
181
steps :
158
182
- if : ${{ contains(matrix.host_os, 'ubuntu') }}
159
183
run : sudo apt-get update -y
@@ -181,13 +205,12 @@ jobs:
181
205
run : |
182
206
cargo +${{ matrix.rust_channel }} test -vv --target=${{ matrix.target }} ${{ matrix.cargo_options }} ${{ matrix.features }} ${{ matrix.mode }}
183
207
184
- # rcgen-based tests require Rust 1.67.
185
- - if : ${{ !contains(matrix.host_os, 'windows') && !contains(matrix.rust_channel, '1.61.0') }}
208
+ - if : ${{ !contains(matrix.host_os, 'windows') && !contains(matrix.skip_rcgen, 'true') }}
186
209
run : |
187
210
mk/cargo.sh +${{ matrix.rust_channel }} test -p rcgen-tests -vv --target=${{ matrix.target }} ${{ matrix.cargo_options }} ${{ matrix.features }} ${{ matrix.mode }}
188
211
189
212
# rcgen-based tests require Rust 1.67, and uses *ring* 0.16 which doesn't build for aarch64-pc-windows-msvc.
190
- - if : ${{ contains(matrix.host_os, 'windows') && !contains(matrix.rust_channel , '1.61.0') && !contains(matrix.target, 'aarch64-pc-windows-msvc ') }}
213
+ - if : ${{ contains(matrix.host_os, 'windows') && !contains(matrix.skip_rcgen , 'true ') }}
191
214
run : |
192
215
cargo +${{ matrix.rust_channel }} test -vv -p rcgen-tests --target=${{ matrix.target }} ${{ matrix.cargo_options }} ${{ matrix.features }} ${{ matrix.mode }}
193
216
0 commit comments