@@ -361,6 +361,37 @@ jobs:
361361 cargo nextest run --all-features --profile ci
362362 cargo test --all-features --doc
363363
364+ cargo-test-macos :
365+ name : " cargo test (macos)"
366+ runs-on : depot-windows-2022-16
367+ needs : determine_changes
368+ if : ${{ !contains(github.event.pull_request.labels.*.name, 'no-test') && (needs.determine_changes.outputs.code == 'true' || github.ref == 'refs/heads/main') }}
369+ timeout-minutes : 20
370+ steps :
371+ - uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
372+ with :
373+ persist-credentials : false
374+ - uses : Swatinem/rust-cache@f13886b937689c021905a6b90929199931d60db1 # v2.8.1
375+ - name : " Install Rust toolchain"
376+ run : rustup show
377+ - name : " Install mold"
378+ uses : rui314/setup-mold@725a8794d15fc7563f59595bd9556495c0564878 # v1
379+ - name : " Install cargo nextest"
380+ uses : taiki-e/install-action@522492a8c115f1b6d4d318581f09638e9442547b # v2.62.21
381+ with :
382+ tool : cargo-nextest
383+ - name : " Install uv"
384+ uses : astral-sh/setup-uv@d0cc045d04ccac9d8b7881df0226f9e82c39688e # v6.8.0
385+ with :
386+ enable-cache : " true"
387+ - name : " Run tests"
388+ shell : bash
389+ env :
390+ NEXTEST_PROFILE : " ci"
391+ run : |
392+ cargo nextest run --all-features --profile ci
393+ cargo test --all-features --doc
394+
364395 cargo-test-wasm :
365396 name : " cargo test (wasm)"
366397 runs-on : ubuntu-latest
@@ -391,23 +422,6 @@ jobs:
391422 cd crates/ty_wasm
392423 wasm-pack test --node
393424
394- cargo-build-release :
395- name : " cargo build (release)"
396- runs-on : macos-latest
397- if : ${{ github.ref == 'refs/heads/main' }}
398- timeout-minutes : 20
399- steps :
400- - uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
401- with :
402- persist-credentials : false
403- - uses : Swatinem/rust-cache@f13886b937689c021905a6b90929199931d60db1 # v2.8.1
404- - name : " Install Rust toolchain"
405- run : rustup show
406- - name : " Install mold"
407- uses : rui314/setup-mold@725a8794d15fc7563f59595bd9556495c0564878 # v1
408- - name : " Build"
409- run : cargo build --release --locked
410-
411425 cargo-build-msrv :
412426 name : " cargo build (msrv)"
413427 runs-on : depot-ubuntu-latest-8
0 commit comments