Maybe release for aarch64? Who can say.
This commit is contained in:
parent
7766feafd4
commit
e11b6e025e
1 changed files with 7 additions and 3 deletions
10
.github/workflows/release.yaml
vendored
10
.github/workflows/release.yaml
vendored
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue