@@ -214,20 +214,24 @@ jobs:
214214 run : ci/sanitizer.sh
215215
216216 miri-tb :
217- name : miri-tb
217+ name : miri-tb-${{ matrix.os.target }}-${{ matrix.cfg }}
218218 strategy :
219219 matrix :
220220 os :
221- - ubuntu-latest
222- - macos-latest
223- - windows-latest
224- target :
225- - x86_64-unknown-linux-gnu
226- - i686-unknown-linux-gnu
227- - powerpc64-unknown-linux-gnu
221+ - name : ubuntu-latest
222+ target :
223+ - x86_64-unknown-linux-gnu
224+ - i686-unknown-linux-gnu
225+ - powerpc64-unknown-linux-gnu
226+ - name : macos-latest
227+ target :
228+ - x86_64-apple-darwin
229+ - aarch64-apple-darwin
230+ - name : windows-latest
231+ target :
228232 cfg :
229233 - all_tests
230- runs-on : ${{ matrix.os }}
234+ runs-on : ${{ matrix.os.name }}
231235 steps :
232236 - uses : actions/checkout@v3
233237 - name : Cache cargo build and registry
@@ -244,28 +248,27 @@ jobs:
244248 run : cargo install cargo-hack
245249 - name : Miri (Linux)
246250 run : |
247- bash ci/miri_tb.sh ${{ matrix.target }} ${{ matrix.cfg }}
248- if : matrix.os == 'ubuntu-latest'
249- - name : Miri (macOS)
250- run : |
251- bash ci/miri_tb_generic.sh ${{ matrix.cfg }}
252- if : matrix.os == 'macos-latest'
251+ bash ci/miri_tb.sh ${{ matrix.os.target }} ${{ matrix.cfg }}
253252
254253 miri-sb :
255- name : miri-sb
254+ name : miri-sb-${{ matrix.os.target }}-${{ matrix.cfg }}
256255 strategy :
257256 matrix :
258257 os :
259- - ubuntu-latest
260- - macos-latest
261- - windows-latest
262- target :
263- - x86_64-unknown-linux-gnu
264- - i686-unknown-linux-gnu
265- - powerpc64-unknown-linux-gnu
258+ - name : ubuntu-latest
259+ target :
260+ - x86_64-unknown-linux-gnu
261+ - i686-unknown-linux-gnu
262+ - powerpc64-unknown-linux-gnu
263+ - name : macos-latest
264+ target :
265+ - x86_64-apple-darwin
266+ - aarch64-apple-darwin
267+ - name : windows-latest
268+ target :
266269 cfg :
267270 - all_tests
268- runs-on : ${{ matrix.os }}
271+ runs-on : ${{ matrix.os.name }}
269272 steps :
270273 - uses : actions/checkout@v3
271274 - name : Cache cargo build and registry
@@ -282,12 +285,7 @@ jobs:
282285 run : cargo install cargo-hack
283286 - name : Miri (Linux)
284287 run : |
285- bash ci/miri_sb.sh ${{ matrix.target }} ${{ matrix.cfg }}
286- if : matrix.os == 'ubuntu-latest'
287- - name : Miri (macOS)
288- run : |
289- bash ci/miri_sb_generic.sh ${{ matrix.cfg }}
290- if : matrix.os == 'macos-latest'
288+ bash ci/miri_sb.sh ${{ matrix.os.target }} ${{ matrix.cfg }}
291289
292290 loom :
293291 name : loom
@@ -385,6 +383,8 @@ jobs:
385383 key : ${{ runner.os }}-coverage-cargo-build-target
386384 - name : Run tarpaulin
387385 uses : actions-rs/cargo@v1
386+ env :
387+ RUSTFLAGS : " --cfg all_tests"
388388 with :
389389 command : tarpaulin
390390 args : --all-features --run-types tests --run-types doctests --workspace --out xml
0 commit comments