summaryrefslogtreecommitdiff
path: root/.github/workflows/release-macos.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/release-macos.yml')
-rw-r--r--.github/workflows/release-macos.yml30
1 files changed, 16 insertions, 14 deletions
diff --git a/.github/workflows/release-macos.yml b/.github/workflows/release-macos.yml
index 1c8a33dd8..663230f5f 100644
--- a/.github/workflows/release-macos.yml
+++ b/.github/workflows/release-macos.yml
@@ -15,7 +15,23 @@ jobs:
configuration: ['release'] # 'debug'
compiler: ['clang']
platform: ['x64']
+ targetPlatform: ['x64', 'aarch64']
steps:
+ - name: Checkout code
+ uses: actions/checkout@v2
+ with:
+ submodules: 'true'
+ fetch-depth: '0'
+ - name: Build release project
+ id: build
+ run: |
+ echo "starting to build..."
+ export CC=${{matrix.compiler}}
+ export CONFIGURATION=${{matrix.configuration}}
+ export ARCH=${{matrix.platform}}
+ export TARGETARCH=${{matrix.targetPlatform}}
+ echo "building..."
+ source ./github_macos_build.sh
- name: "Import signing certificate"
env:
BUILD_CERTIFICATE_BASE64: ${{ secrets.BUILD_CERTIFICATE_BASE64 }}
@@ -45,20 +61,6 @@ jobs:
brew install mitchellh/gon/gon
security find-identity -v
brew install coreutils
- - name: Checkout code
- uses: actions/checkout@v2
- with:
- submodules: 'true'
- fetch-depth: '0'
- - name: Build release project
- id: build
- run: |
- echo "starting to build..."
- export CC=${{matrix.compiler}}
- export CONFIGURATION=${{matrix.configuration}}
- export ARCH=${{matrix.platform}}
- echo "building..."
- source ./github_macos_build.sh
- name: Sign binaries
env:
IDENTITY_ID: d6ada82a113e4204aaad914e1013e9548ffd30d0