diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 247ad43..1adf856 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -49,9 +49,8 @@ jobs: PCRE2_SYS_STATIC: 1 strategy: - # just an example matrix matrix: - build: ['linux', 'macos', 'windows'] + build: ['linux', 'macos', 'arm-macos', 'windows'] include: - build: linux os: ubuntu-22.04 @@ -63,6 +62,11 @@ jobs: rust: nightly target: x86_64-apple-darwin + - build: arm-macos + os: macos-12 + rust: nightly + target: aarch64-apple-darwin + - build: windows os: windows-2022 rust: nightly @@ -90,7 +94,7 @@ jobs: run: ${{ env.CARGO }} build --verbose --release ${{ env.TARGET_FLAGS }} - name: Strip release binary (linux and macos) - if: matrix.build == 'linux' || matrix.build == 'macos' + if: matrix.build == 'linux' || matrix.build == 'macos' || matrix.build == 'arm-macos' run: | strip "target/${{ matrix.target }}/release/fwd" strip "target/${{ matrix.target }}/release/fwd-browse"