@@ -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,23 +140,42 @@ 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.
143
149
cargo_options : --no-run
150
+ # rcgen requires *ring* 0.16 which doesn't support this target.
151
+ skip_rcgen : true
144
152
145
153
- target : arm-unknown-linux-gnueabihf
146
154
host_os : ubuntu-22.04
147
155
148
156
- target : i686-pc-windows-msvc
149
157
host_os : windows-latest
150
158
159
+ - target : riscv64gc-unknown-linux-gnu
160
+ host_os : ubuntu-22.04
161
+ # rcgen requires *ring* 0.16 which doesn't support this target.
162
+ skip_rcgen : true
163
+
164
+ - target : wasm32-wasi
165
+ host_os : ubuntu-22.04
166
+ # rcgen requires *ring* 0.16 which doesn't support this target.
167
+ skip_rcgen : true
168
+
151
169
- target : x86_64-unknown-linux-musl
152
170
host_os : ubuntu-22.04
153
171
154
172
- target : x86_64-unknown-linux-gnu
155
173
host_os : ubuntu-22.04
156
174
175
+ - rust_channel : 1.61.0
176
+ # rcgen requires Rust 1.67.
177
+ skip_rcgen : true
178
+
157
179
steps :
158
180
- if : ${{ contains(matrix.host_os, 'ubuntu') }}
159
181
run : sudo apt-get update -y
@@ -181,13 +203,12 @@ jobs:
181
203
run : |
182
204
cargo +${{ matrix.rust_channel }} test -vv --target=${{ matrix.target }} ${{ matrix.cargo_options }} ${{ matrix.features }} ${{ matrix.mode }}
183
205
184
- # rcgen-based tests require Rust 1.67.
185
- - if : ${{ !contains(matrix.host_os, 'windows') && !contains(matrix.rust_channel, '1.61.0') }}
206
+ - if : ${{ !contains(matrix.host_os, 'windows') && !contains(matrix.skip_rcgen, 'true') }}
186
207
run : |
187
208
mk/cargo.sh +${{ matrix.rust_channel }} test -p rcgen-tests -vv --target=${{ matrix.target }} ${{ matrix.cargo_options }} ${{ matrix.features }} ${{ matrix.mode }}
188
209
189
210
# 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 ') }}
211
+ - if : ${{ contains(matrix.host_os, 'windows') && !contains(matrix.skip_rcgen , 'true ') }}
191
212
run : |
192
213
cargo +${{ matrix.rust_channel }} test -vv -p rcgen-tests --target=${{ matrix.target }} ${{ matrix.cargo_options }} ${{ matrix.features }} ${{ matrix.mode }}
193
214
0 commit comments