build: fix aarch64-apple-darwin builds (#2300)

This commit is contained in:
David Knaack
2021-02-13 16:44:09 +01:00
committed by GitHub
parent 3772b4846d
commit cf9c89ef6b
+6 -5
View File
@@ -64,11 +64,9 @@ jobs:
os: macOS-latest os: macOS-latest
name: starship-x86_64-apple-darwin.tar.gz name: starship-x86_64-apple-darwin.tar.gz
# TODO: Enable once macos-11.0 pools are publicly available - target: aarch64-apple-darwin
# https://github.com/actions/virtual-environments/issues/2486 os: macOS-latest
# - target: aarch64-apple-darwin name: starship-aarch64-apple-darwin.tar.gz
# os: macos-11.0
# name: starship-aarch64-apple-darwin.tar.gz
- target: x86_64-pc-windows-msvc - target: x86_64-pc-windows-msvc
os: windows-latest os: windows-latest
@@ -111,6 +109,9 @@ jobs:
- name: Build | Build - name: Build | Build
uses: actions-rs/cargo@v1 uses: actions-rs/cargo@v1
# TODO: Remove this once it's the default
env:
SDKROOT: /Library/Developer/CommandLineTools/SDKs/MacOSX11.1.sdk
with: with:
command: build command: build
args: --release --features tls-vendored --target ${{ matrix.target }} args: --release --features tls-vendored --target ${{ matrix.target }}