Skip to content

Commit 70c48fc

Browse files
committed
Add darwin arm64 builds
1 parent 5f9f610 commit 70c48fc

File tree

1 file changed

+9
-6
lines changed

1 file changed

+9
-6
lines changed

.github/workflows/CICD.yml

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -461,14 +461,15 @@ jobs:
461461
fail-fast: false
462462
matrix:
463463
job:
464-
# { os , target , cargo-options , features , use-cross , toolchain }
464+
# - { os , target , cargo-options , features , use-cross , toolchain, skip-tests }
465465
- { os: ubuntu-latest , target: arm-unknown-linux-gnueabihf, features: feat_os_unix_gnueabihf, use-cross: use-cross, }
466466
- { os: ubuntu-latest , target: aarch64-unknown-linux-gnu , features: feat_os_unix_gnueabihf , use-cross: use-cross }
467467
# - { 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...
472473
- { os: macos-latest , target: x86_64-apple-darwin , features: feat_os_macos }
473474
- { os: windows-latest , target: i686-pc-windows-msvc , features: feat_os_windows }
474475
- { 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:
575576
- uses: taiki-e/install-action@v2
576577
if: steps.vars.outputs.CARGO_CMD == 'cross'
577578
with:
578-
tool: cross@0.2.1
579+
tool: cross@0.2.5
579580
- name: Create all needed build/work directories
580581
shell: bash
581582
run: |
@@ -650,6 +651,7 @@ jobs:
650651
${{ steps.vars.outputs.CARGO_CMD }} +${{ env.RUST_MIN_SRV }} build --release \
651652
--target=${{ matrix.job.target }} ${{ matrix.job.cargo-options }} ${{ steps.vars.outputs.CARGO_FEATURES_OPTION }}
652653
- name: Test
654+
if: matrix.job.skip-tests != true
653655
shell: bash
654656
run: |
655657
## Test
@@ -658,6 +660,7 @@ jobs:
658660
env:
659661
RUST_BACKTRACE: "1"
660662
- name: Test individual utilities
663+
if: matrix.job.skip-tests != true
661664
shell: bash
662665
run: |
663666
## Test individual utilities

0 commit comments

Comments
 (0)