@@ -461,14 +461,15 @@ jobs:
461
461
fail-fast : false
462
462
matrix :
463
463
job :
464
- # { os , target , cargo-options , features , use-cross , toolchain }
464
+ # - { os , target , cargo-options , features , use-cross , toolchain, skip-tests }
465
465
- { os: ubuntu-latest , target: arm-unknown-linux-gnueabihf, features: feat_os_unix_gnueabihf, use-cross: use-cross, }
466
466
- { os: ubuntu-latest , target: aarch64-unknown-linux-gnu , features: feat_os_unix_gnueabihf , use-cross: use-cross }
467
467
# - { os: ubuntu-latest , target: x86_64-unknown-linux-gnu , features: feat_selinux , use-cross: use-cross }
468
- - { os: ubuntu-latest , target: i686-unknown-linux-gnu , features: feat_os_unix , use-cross: use-cross }
469
- - { os: ubuntu-latest , target: i686-unknown-linux-musl , features: feat_os_unix_musl , use-cross: use-cross }
470
- - { os: ubuntu-latest , target: x86_64-unknown-linux-gnu , features: feat_os_unix , use-cross: use-cross }
471
- - { os: ubuntu-latest , target: x86_64-unknown-linux-musl , features: feat_os_unix_musl , use-cross: use-cross }
468
+ - { os: ubuntu-latest , target: i686-unknown-linux-gnu , features: feat_os_unix , use-cross: use-cross }
469
+ - { os: ubuntu-latest , target: i686-unknown-linux-musl , features: feat_os_unix_musl , use-cross: use-cross }
470
+ - { os: ubuntu-latest , target: x86_64-unknown-linux-gnu , features: feat_os_unix , use-cross: use-cross }
471
+ - { os: ubuntu-latest , target: x86_64-unknown-linux-musl , features: feat_os_unix_musl , use-cross: use-cross }
472
+ - { os: macos-latest , target: aarch64-apple-darwin , features: feat_os_macos , use-cross: use-cross, skip-tests: true} # Hopefully github provides free M1 runners soon...
472
473
- { os: macos-latest , target: x86_64-apple-darwin , features: feat_os_macos }
473
474
- { os: windows-latest , target: i686-pc-windows-msvc , features: feat_os_windows }
474
475
- { os: windows-latest , target: x86_64-pc-windows-gnu , features: feat_os_windows } # # note: requires rust >= 1.43.0 to link correctly
@@ -575,7 +576,7 @@ jobs:
575
576
- uses : taiki-e/install-action@v2
576
577
if : steps.vars.outputs.CARGO_CMD == 'cross'
577
578
with :
578
- tool : cross@0.2.1
579
+ tool : cross@0.2.5
579
580
- name : Create all needed build/work directories
580
581
shell : bash
581
582
run : |
@@ -650,6 +651,7 @@ jobs:
650
651
${{ steps.vars.outputs.CARGO_CMD }} +${{ env.RUST_MIN_SRV }} build --release \
651
652
--target=${{ matrix.job.target }} ${{ matrix.job.cargo-options }} ${{ steps.vars.outputs.CARGO_FEATURES_OPTION }}
652
653
- name : Test
654
+ if : matrix.job.skip-tests != true
653
655
shell : bash
654
656
run : |
655
657
## Test
@@ -658,6 +660,7 @@ jobs:
658
660
env :
659
661
RUST_BACKTRACE : " 1"
660
662
- name : Test individual utilities
663
+ if : matrix.job.skip-tests != true
661
664
shell : bash
662
665
run : |
663
666
## Test individual utilities
0 commit comments