2222 beta,
2323 nightly,
2424 linux32,
25- macos,
2625 aarch64-macos,
26+ x86_64-macos,
2727 aarch64-ios,
28+ aarch64-ios-sim,
29+ x86_64-ios-sim,
30+ aarch64-ios-macabi,
31+ x86_64-ios-macabi,
2832 win32,
2933 win64,
3034 mingw32,
@@ -49,19 +53,39 @@ jobs:
4953 os : ubuntu-latest
5054 rust : stable
5155 target : i686-unknown-linux-gnu
52- - build : macos
53- os : macos-latest
54- rust : stable
55- target : x86_64-apple-darwin
5656 - build : aarch64-macos
5757 os : macos-14
5858 rust : stable
5959 target : aarch64-apple-darwin
60+ - build : x86_64-macos
61+ os : macos-13 # x86
62+ rust : stable
63+ target : x86_64-apple-darwin
6064 - build : aarch64-ios
6165 os : macos-latest
6266 rust : stable
6367 target : aarch64-apple-ios
6468 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
6589 - build : windows-aarch64
6690 os : windows-latest
6791 rust : stable
@@ -139,42 +163,42 @@ jobs:
139163 - run : cargo test ${{ matrix.no_run }} --workspace --target ${{ matrix.target }} ${{ matrix.cargo_flags }}
140164
141165 # 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 :
143167 name : Test build-std
144- runs-on : ${{ matrix.os }}
168+ runs-on : macos-latest
145169 strategy :
146170 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
164188 steps :
165189 - uses : actions/checkout@v4
166190 - name : Install Rust (rustup)
167191 run : |
168192 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
172196 shell : bash
173197 - run : cargo update
174198 - 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
178202
179203 check-wasm :
180204 name : Test wasm
@@ -188,7 +212,7 @@ jobs:
188212 run : |
189213 rustup target add ${{ matrix.target }}
190214 shell : bash
191- - run : cargo update
215+ - run : cargo update
192216 - uses : Swatinem/rust-cache@v2
193217 - run : cargo test --no-run --target ${{ matrix.target }}
194218 - run : cargo test --no-run --target ${{ matrix.target }} --release
@@ -251,7 +275,7 @@ jobs:
251275 sudo dpkg -i cuda-keyring_1.0-1_all.deb
252276 sudo apt-get update
253277 sudo apt-get -y install cuda-minimal-build-11-8
254- - run : cargo update
278+ - run : cargo update
255279 - uses : Swatinem/rust-cache@v2
256280 - name : Test 'cudart' feature
257281 shell : bash
@@ -321,7 +345,7 @@ jobs:
321345 name : Tests pass
322346 needs :
323347 - test
324- - check-tvos
348+ - check-build-std
325349 - check-wasm
326350 - test-wasm32-wasip1-thread
327351 - cuda
0 commit comments