Skip to content

Commit

Permalink
ci: add aarch64-apple-darwin target
Browse files Browse the repository at this point in the history
  • Loading branch information
tsirysndr committed Sep 24, 2022
1 parent a19756f commit f02bd2a
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/release-for-mac.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,18 @@ jobs:
include:
- target: x86_64-apple-darwin
archive: tar.gz tar.xz
- target: aarch64-apple-darwin
archive: tar.gz tar.xz

steps:
- uses: actions/checkout@master
- uses: actions/setup-go@v3
- name: Running go build
- name: Running go build for ${{ matrix.target }}
if: matrix.target == 'x86_64-apple-darwin'
run: go build -o bin/mada
- name: Running go build for ${{ matrix.target }}
if: matrix.target == 'aarch64-apple-darwin'
run: GOARCH=arm64 go build -o bin/mada
- name: Set env
run: echo "RELEASE_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV
- name: Packaging final binary
Expand Down

0 comments on commit f02bd2a

Please sign in to comment.