@@ -19,24 +19,40 @@ defaults:
19
19
20
20
jobs :
21
21
test :
22
- name : cargo +${{ matrix.rust }} test (${{ matrix.os }})
22
+ name : cargo test (${{ matrix.os }})
23
23
strategy :
24
+ fail-fast : false
24
25
matrix :
25
- rust :
26
- - nightly
27
26
os :
28
- - ubuntu-latest
29
- - macos-latest
30
- - windows-latest
27
+ - ubuntu-latest
28
+ - macos-latest
29
+ - windows-latest
31
30
runs-on : ${{ matrix.os }}
32
31
steps :
33
32
- uses : actions/checkout@v2
34
33
- name : Install Rust
35
34
# --no-self-update is necessary because the windows environment cannot self-update rustup.exe.
36
- run : rustup update ${{ matrix.rust }} --no-self-update && rustup default ${{ matrix.rust }}
35
+ run : rustup update nightly --no-self-update && rustup default nightly
37
36
- run : cargo test --workspace --all-features
38
37
- run : cargo test --workspace --all-features --release
39
38
39
+ cross :
40
+ name : cross test --target ${{ matrix.target }}
41
+ strategy :
42
+ fail-fast : false
43
+ matrix :
44
+ target :
45
+ - i686-unknown-linux-gnu
46
+ - aarch64-unknown-linux-gnu
47
+ runs-on : ubuntu-latest
48
+ steps :
49
+ - uses : actions/checkout@v2
50
+ - name : Install Rust
51
+ run : rustup update nightly && rustup default nightly
52
+ - run : cargo install cross
53
+ - run : cross test --target ${{ matrix.target }} --workspace --all-features
54
+ - run : cross test --target ${{ matrix.target }} --workspace --all-features --release
55
+
40
56
core-msrv :
41
57
name : cargo +${{ matrix.rust }} build (futures-{core, io, sink, task})
42
58
strategy :
@@ -100,6 +116,7 @@ jobs:
100
116
build :
101
117
name : cargo +${{ matrix.rust }} build
102
118
strategy :
119
+ fail-fast : false
103
120
matrix :
104
121
rust :
105
122
- stable
@@ -130,10 +147,13 @@ jobs:
130
147
no-std :
131
148
name : cargo build --target ${{ matrix.target }}
132
149
strategy :
150
+ fail-fast : false
133
151
matrix :
152
+ # thumbv7m-none-eabi supports atomic CAS.
153
+ # thumbv6m-none-eabi supports atomic, but not atomic CAS.
134
154
target :
135
- - thumbv6m-none-eabi
136
155
- thumbv7m-none-eabi
156
+ - thumbv6m-none-eabi
137
157
runs-on : ubuntu-latest
138
158
steps :
139
159
- uses : actions/checkout@v2
@@ -210,6 +230,7 @@ jobs:
210
230
san :
211
231
name : cargo test -Z sanitizer=${{ matrix.sanitizer }}
212
232
strategy :
233
+ fail-fast : false
213
234
matrix :
214
235
sanitizer :
215
236
- address
0 commit comments