@@ -64,10 +64,12 @@ jobs:
6464 rust: stable
6565 target: x86_64-pc-windows-msvc
6666 cross: false
67− # - build: aarch64-macos
68− # os: macos-latest
69− # rust: stable
70− # target: aarch64-apple-darwin
67+ - build: aarch64-macos
68+ os: macos-latest
69+ rust: stable
70+ target: aarch64-apple-darwin
71+ cross: false
72+ skip_tests: true # x86_64 host can't run aarch64 code
7173 # - build: x86_64-win-gnu
7274 # os: windows-2019
7375 # rust: stable-x86_64-gnu
@@ -100,6 +102,7 @@ jobs:
100102
101103 - name: Run cargo test
102104 uses: actions-rs/cargo@v1
105+ if: "!matrix.skip_tests"
103106 with:
104107 use-cross: ${{ matrix.cross }}
105108 command: test
@@ -113,7 +116,7 @@ jobs:
113116 args: --release --locked --target ${{ matrix.target }}
114117
115118 - name: Strip release binary (linux and macos)
116− if: matrix.build == 'x86_64-linux' || matrix.build == 'x86_64-macos'
119+ if: matrix.build == 'x86_64-linux' || matrix.build == 'x86_64-macos' || matrix.build == 'aarch64-macos'
117120 run: strip "target/${{ matrix.target }}/release/hx"
118121
119122 - name: Strip release binary (arm)