@@ -19,24 +19,40 @@ defaults:
1919
2020jobs :
2121 test :
22- name : cargo +${{ matrix.rust }} test (${{ matrix.os }})
22+ name : cargo test (${{ matrix.os }})
2323 strategy :
24+ fail-fast : false
2425 matrix :
25- rust :
26- - nightly
2726 os :
28- - ubuntu-latest
29- - macos-latest
30- - windows-latest
27+ - ubuntu-latest
28+ - macos-latest
29+ - windows-latest
3130 runs-on : ${{ matrix.os }}
3231 steps :
3332 - uses : actions/checkout@v2
3433 - name : Install Rust
3534 # --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
3736 - run : cargo test --workspace --all-features
3837 - run : cargo test --workspace --all-features --release
3938
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+
4056 core-msrv :
4157 name : cargo +${{ matrix.rust }} build (futures-{core, io, sink, task})
4258 strategy :
@@ -100,6 +116,7 @@ jobs:
100116 build :
101117 name : cargo +${{ matrix.rust }} build
102118 strategy :
119+ fail-fast : false
103120 matrix :
104121 rust :
105122 - stable
@@ -130,10 +147,13 @@ jobs:
130147 no-std :
131148 name : cargo build --target ${{ matrix.target }}
132149 strategy :
150+ fail-fast : false
133151 matrix :
152+ # thumbv7m-none-eabi supports atomic CAS.
153+ # thumbv6m-none-eabi supports atomic, but not atomic CAS.
134154 target :
135- - thumbv6m-none-eabi
136155 - thumbv7m-none-eabi
156+ - thumbv6m-none-eabi
137157 runs-on : ubuntu-latest
138158 steps :
139159 - uses : actions/checkout@v2
@@ -210,6 +230,7 @@ jobs:
210230 san :
211231 name : cargo test -Z sanitizer=${{ matrix.sanitizer }}
212232 strategy :
233+ fail-fast : false
213234 matrix :
214235 sanitizer :
215236 - address
0 commit comments