22
22
beta,
23
23
nightly,
24
24
linux32,
25
- macos,
26
25
aarch64-macos,
26
+ x86_64-macos,
27
27
aarch64-ios,
28
+ aarch64-ios-sim,
29
+ x86_64-ios-sim,
30
+ aarch64-ios-macabi,
31
+ x86_64-ios-macabi,
28
32
win32,
29
33
win64,
30
34
mingw32,
@@ -49,19 +53,39 @@ jobs:
49
53
os : ubuntu-latest
50
54
rust : stable
51
55
target : i686-unknown-linux-gnu
52
- - build : macos
53
- os : macos-latest
54
- rust : stable
55
- target : x86_64-apple-darwin
56
56
- build : aarch64-macos
57
57
os : macos-14
58
58
rust : stable
59
59
target : aarch64-apple-darwin
60
+ - build : x86_64-macos
61
+ os : macos-13 # x86
62
+ rust : stable
63
+ target : x86_64-apple-darwin
60
64
- build : aarch64-ios
61
65
os : macos-latest
62
66
rust : stable
63
67
target : aarch64-apple-ios
64
68
no_run : --no-run
69
+ - build : aarch64-ios-sim
70
+ os : macos-latest
71
+ rust : stable
72
+ target : aarch64-apple-ios-sim
73
+ no_run : --no-run
74
+ - build : x86_64-ios-sim
75
+ os : macos-13 # x86
76
+ rust : stable
77
+ target : x86_64-apple-ios # Simulator
78
+ no_run : --no-run
79
+ - build : aarch64-ios-macabi
80
+ os : macos-latest
81
+ rust : stable
82
+ target : aarch64-apple-ios-macabi
83
+ no_run : --no-run # FIXME(madsmtm): Fix running tests
84
+ - build : x86_64-ios-macabi
85
+ os : macos-13 # x86
86
+ rust : stable
87
+ target : x86_64-apple-ios-macabi
88
+ no_run : --no-run # FIXME(madsmtm): Fix running tests
65
89
- build : windows-aarch64
66
90
os : windows-latest
67
91
rust : stable
@@ -139,42 +163,42 @@ jobs:
139
163
- run : cargo test ${{ matrix.no_run }} --workspace --target ${{ matrix.target }} ${{ matrix.cargo_flags }}
140
164
141
165
# This is separate from the matrix above because there is no prebuilt rust-std component for these targets.
142
- check-tvos :
166
+ check-build-std :
143
167
name : Test build-std
144
- runs-on : ${{ matrix.os }}
168
+ runs-on : macos-latest
145
169
strategy :
146
170
matrix :
147
- build : [aarch64-tvos, aarch64-tvos-sim, x86_64-tvos]
148
- include :
149
- - build : aarch64-tvos
150
- os : macos-latest
151
- rust : nightly
152
- target : aarch64 -apple-tvos
153
- no_run : --no-run
154
- - build : aarch64-tvos-sim
155
- os : macos-latest
156
- rust : nightly
157
- target : aarch64-apple-tvos -sim
158
- no_run : --no-run
159
- - build : x86_64-tvos
160
- os : macos-latest
161
- rust : nightly
162
- target : x86_64 -apple-tvos
163
- no_run : --no-run
171
+ target :
172
+ - x86_64h-apple-darwin
173
+ # FIXME(madsmtm): needs deployment target
174
+ # - armv7s-apple-ios
175
+ # FIXME(madsmtm): needs deployment target
176
+ # - i386 -apple-ios # Simulator
177
+ - aarch64-apple-tvos
178
+ - aarch64-apple -tvos-sim
179
+ - x86_64-apple-tvos # Simulator
180
+ - aarch64-apple-watchos
181
+ - aarch64-apple-watchos -sim
182
+ - x86_64-apple-watchos-sim
183
+ # FIXME(madsmtm): needs deployment target
184
+ # - arm64_32-apple-watchos
185
+ - armv7k-apple-watchos
186
+ - aarch64 -apple-visionos
187
+ - aarch64-apple-visionos-sim
164
188
steps :
165
189
- uses : actions/checkout@v4
166
190
- name : Install Rust (rustup)
167
191
run : |
168
192
set -euxo pipefail
169
- rustup toolchain install ${{ matrix.rust }} --no-self-update --profile minimal
170
- rustup component add rust-src --toolchain ${{ matrix.rust }}
171
- rustup default ${{ matrix.rust }}
193
+ rustup toolchain install nightly --no-self-update --profile minimal
194
+ rustup component add rust-src --toolchain nightly
195
+ rustup default nightly
172
196
shell : bash
173
197
- run : cargo update
174
198
- uses : Swatinem/rust-cache@v2
175
- - run : cargo test -Z build-std=std ${{ matrix.no_run }} --workspace --target ${{ matrix.target }}
176
- - run : cargo test -Z build-std=std ${{ matrix.no_run }} --workspace --target ${{ matrix.target }} --release
177
- - run : cargo test -Z build-std=std ${{ matrix.no_run }} --workspace --target ${{ matrix.target }} --features parallel
199
+ - run : cargo test -Z build-std=std --no-run --workspace --target ${{ matrix.target }}
200
+ - run : cargo test -Z build-std=std --no-run --workspace --target ${{ matrix.target }} --release
201
+ - run : cargo test -Z build-std=std --no-run --workspace --target ${{ matrix.target }} --features parallel
178
202
179
203
check-wasm :
180
204
name : Test wasm
@@ -188,7 +212,7 @@ jobs:
188
212
run : |
189
213
rustup target add ${{ matrix.target }}
190
214
shell : bash
191
- - run : cargo update
215
+ - run : cargo update
192
216
- uses : Swatinem/rust-cache@v2
193
217
- run : cargo test --no-run --target ${{ matrix.target }}
194
218
- run : cargo test --no-run --target ${{ matrix.target }} --release
@@ -251,7 +275,7 @@ jobs:
251
275
sudo dpkg -i cuda-keyring_1.0-1_all.deb
252
276
sudo apt-get update
253
277
sudo apt-get -y install cuda-minimal-build-11-8
254
- - run : cargo update
278
+ - run : cargo update
255
279
- uses : Swatinem/rust-cache@v2
256
280
- name : Test 'cudart' feature
257
281
shell : bash
@@ -321,7 +345,7 @@ jobs:
321
345
name : Tests pass
322
346
needs :
323
347
- test
324
- - check-tvos
348
+ - check-build-std
325
349
- check-wasm
326
350
- test-wasm32-wasip1-thread
327
351
- cuda
0 commit comments