Build MacOS ARM release binaries (#1138)
This commit is contained in:
parent
9da8f41895
commit
cc91485d18
4
.github/workflows/release.yaml
vendored
4
.github/workflows/release.yaml
vendored
@ -16,12 +16,16 @@ jobs:
|
|||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
target:
|
target:
|
||||||
|
- aarch64-apple-darwin
|
||||||
- aarch64-unknown-linux-musl
|
- aarch64-unknown-linux-musl
|
||||||
- armv7-unknown-linux-musleabihf
|
- armv7-unknown-linux-musleabihf
|
||||||
- x86_64-apple-darwin
|
- x86_64-apple-darwin
|
||||||
- x86_64-pc-windows-msvc
|
- x86_64-pc-windows-msvc
|
||||||
- x86_64-unknown-linux-musl
|
- x86_64-unknown-linux-musl
|
||||||
include:
|
include:
|
||||||
|
- target: aarch64-apple-darwin
|
||||||
|
os: macos-latest
|
||||||
|
target_rustflags: ''
|
||||||
- target: aarch64-unknown-linux-musl
|
- target: aarch64-unknown-linux-musl
|
||||||
os: ubuntu-latest
|
os: ubuntu-latest
|
||||||
target_rustflags: '--codegen linker=aarch64-linux-gnu-gcc'
|
target_rustflags: '--codegen linker=aarch64-linux-gnu-gcc'
|
||||||
|
@ -107,6 +107,7 @@ if [ -z ${target-} ]; then
|
|||||||
|
|
||||||
case $uname_target in
|
case $uname_target in
|
||||||
aarch64-Linux) target=aarch64-unknown-linux-musl;;
|
aarch64-Linux) target=aarch64-unknown-linux-musl;;
|
||||||
|
arm64-Darwin) target=aarch64-apple-darwin;;
|
||||||
x86_64-Darwin) target=x86_64-apple-darwin;;
|
x86_64-Darwin) target=x86_64-apple-darwin;;
|
||||||
x86_64-Linux) target=x86_64-unknown-linux-musl;;
|
x86_64-Linux) target=x86_64-unknown-linux-musl;;
|
||||||
x86_64-Windows_NT) target=x86_64-pc-windows-msvc;;
|
x86_64-Windows_NT) target=x86_64-pc-windows-msvc;;
|
||||||
|
Loading…
Reference in New Issue
Block a user