summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Knaack <davidkna@users.noreply.github.com>2021-02-13 16:44:09 +0100
committerGitHub <noreply@github.com>2021-02-13 10:44:09 -0500
commitcf9c89ef6b2573ce0db50062148e0e1186852a02 (patch)
tree290d1efc5a6ea4deee871a22728324aa4244abba
parent3772b4846d671cfff00e4e7c855fb110b9a37c40 (diff)
build: fix aarch64-apple-darwin builds (#2300)
-rw-r--r--.github/workflows/deploy.yml11
1 files changed, 6 insertions, 5 deletions
diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml
index 389794fa3..f86648a24 100644
--- a/.github/workflows/deploy.yml
+++ b/.github/workflows/deploy.yml
@@ -64,11 +64,9 @@ jobs:
os: macOS-latest
name: starship-x86_64-apple-darwin.tar.gz
- # TODO: Enable once macos-11.0 pools are publicly available
- # https://github.com/actions/virtual-environments/issues/2486
- # - target: aarch64-apple-darwin
- # os: macos-11.0
- # name: starship-aarch64-apple-darwin.tar.gz
+ - target: aarch64-apple-darwin
+ os: macOS-latest
+ name: starship-aarch64-apple-darwin.tar.gz
- target: x86_64-pc-windows-msvc
os: windows-latest
@@ -111,6 +109,9 @@ jobs:
- name: Build | Build
uses: actions-rs/cargo@v1
+ # TODO: Remove this once it's the default
+ env:
+ SDKROOT: /Library/Developer/CommandLineTools/SDKs/MacOSX11.1.sdk
with:
command: build
args: --release --features tls-vendored --target ${{ matrix.target }}