11
11
runs-on : ${{ matrix.os }}
12
12
strategy :
13
13
matrix :
14
- build : [stable, beta, nightly, linux32, macos, aarch64-ios, win32, win64, mingw32, mingw64, windows-2019]
14
+ build : [stable, beta, nightly, linux32, macos, aarch64-macos, aarch64- ios, win32, win64, mingw32, mingw64, windows-2019]
15
15
include :
16
16
- build : stable
17
17
os : ubuntu-latest
33
33
os : macos-latest
34
34
rust : stable
35
35
target : x86_64-apple-darwin
36
+ - build : aarch64-macos
37
+ os : macos-14
38
+ rust : stable
39
+ target : aarch64-apple-darwin
36
40
- build : aarch64-ios
37
41
os : macos-latest
38
42
rust : stable
86
90
sudo apt-get update
87
91
sudo apt-get install g++-multilib
88
92
if : matrix.build == 'linux32'
93
+ - uses : Swatinem/rust-cache@v2
89
94
- run : cargo test ${{ matrix.no_run }} --workspace --target ${{ matrix.target }}
90
95
- run : cargo test ${{ matrix.no_run }} --workspace --target ${{ matrix.target }} --release
91
96
- run : cargo test ${{ matrix.no_run }} --workspace --target ${{ matrix.target }} --features parallel
@@ -103,6 +108,7 @@ jobs:
103
108
rustup component add rust-src --toolchain nightly
104
109
rustup default nightly
105
110
shell : bash
111
+ - uses : Swatinem/rust-cache@v2
106
112
- run : cargo test -Z build-std=std --no-run --workspace --target aarch64-apple-tvos
107
113
- run : cargo test -Z build-std=std --no-run --workspace --target aarch64-apple-tvos --release
108
114
- run : cargo test -Z build-std=std --no-run --workspace --target aarch64-apple-tvos --features parallel
@@ -120,6 +126,7 @@ jobs:
120
126
sudo dpkg -i cuda-keyring_1.0-1_all.deb
121
127
sudo apt-get update
122
128
sudo apt-get -y install cuda-minimal-build-11-8
129
+ - uses : Swatinem/rust-cache@v2
123
130
- name : Test 'cudart' feature
124
131
shell : bash
125
132
run : |
@@ -157,6 +164,7 @@ jobs:
157
164
rustup toolchain install stable --no-self-update --profile minimal --component rustfmt
158
165
rustup default stable
159
166
shell : bash
167
+ - uses : Swatinem/rust-cache@v2
160
168
- run : cargo clippy
161
169
162
170
rustfmt :
@@ -169,4 +177,5 @@ jobs:
169
177
rustup toolchain install stable --no-self-update --profile minimal --component rustfmt
170
178
rustup default stable
171
179
shell : bash
180
+ - uses : Swatinem/rust-cache@v2
172
181
- run : cargo fmt -- --check
0 commit comments