Maybe release for aarch64? Who can say.

This commit is contained in:
John Doty 2024-04-13 14:59:19 -07:00
parent 7766feafd4
commit e11b6e025e

View file

@ -49,9 +49,8 @@ jobs:
PCRE2_SYS_STATIC: 1 PCRE2_SYS_STATIC: 1
strategy: strategy:
# just an example matrix
matrix: matrix:
build: ['linux', 'macos', 'windows'] build: ['linux', 'macos', 'arm-macos', 'windows']
include: include:
- build: linux - build: linux
os: ubuntu-22.04 os: ubuntu-22.04
@ -63,6 +62,11 @@ jobs:
rust: nightly rust: nightly
target: x86_64-apple-darwin target: x86_64-apple-darwin
- build: arm-macos
os: macos-12
rust: nightly
target: aarch64-apple-darwin
- build: windows - build: windows
os: windows-2022 os: windows-2022
rust: nightly rust: nightly
@ -90,7 +94,7 @@ jobs:
run: ${{ env.CARGO }} build --verbose --release ${{ env.TARGET_FLAGS }} run: ${{ env.CARGO }} build --verbose --release ${{ env.TARGET_FLAGS }}
- name: Strip release binary (linux and macos) - 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: | run: |
strip "target/${{ matrix.target }}/release/fwd" strip "target/${{ matrix.target }}/release/fwd"
strip "target/${{ matrix.target }}/release/fwd-browse" strip "target/${{ matrix.target }}/release/fwd-browse"