summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarco Ieni <11428655+MarcoIeni@users.noreply.github.com>2022-12-03 15:45:26 +0100
committerGitHub <noreply@github.com>2022-12-03 06:45:26 -0800
commit667d44c88552f4cd85de9a2917b41f308ceec6ce (patch)
tree8a41a22095cb1bf12be126a6a7c5b4ba0cf219a5
parent96c2fa86730f4248bf1199a44525b8e31cf25de8 (diff)
ci: release apple arm binary (#1239)
* ci: improve formatting * ci.yaml: apply new formatting * ci: release apple arm binary * use cross for mac arm * wip * do not use cross * install targets
-rw-r--r--.github/workflows/cd.yml6
1 files changed, 5 insertions, 1 deletions
diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml
index 5ddafcba..225c5272 100644
--- a/.github/workflows/cd.yml
+++ b/.github/workflows/cd.yml
@@ -15,6 +15,9 @@ jobs:
- os: macos-latest
target: x86_64-apple-darwin
use-cross: false
+ - os: macos-latest
+ target: aarch64-apple-darwin
+ use-cross: false
- os: windows-latest
target: x86_64-pc-windows-msvc
use-cross: false
@@ -39,6 +42,7 @@ jobs:
uses: actions-rs/toolchain@v1
with:
toolchain: stable
+ target: ${{ matrix.job.target }}
profile: minimal
override: true
- name: Checkout repository
@@ -96,7 +100,7 @@ jobs:
with:
command: publish
args: --token ${{ secrets.CARGO_API_KEY }} --allow-dirty
-
+
bump-homebrew-formula:
runs-on: macos-latest
steps: