Add support for arm64-apple-darwin release/channel artifacts
This commit is contained in:
@ -39,7 +39,7 @@ fi
|
|||||||
|
|
||||||
case "$CI_OS_NAME" in
|
case "$CI_OS_NAME" in
|
||||||
osx)
|
osx)
|
||||||
TARGET=x86_64-apple-darwin
|
TARGET=$(uname -m)-apple-darwin
|
||||||
;;
|
;;
|
||||||
linux)
|
linux)
|
||||||
TARGET=x86_64-unknown-linux-gnu
|
TARGET=x86_64-unknown-linux-gnu
|
||||||
|
@ -67,7 +67,7 @@ main() {
|
|||||||
TARGET=x86_64-unknown-linux-gnu
|
TARGET=x86_64-unknown-linux-gnu
|
||||||
;;
|
;;
|
||||||
Darwin)
|
Darwin)
|
||||||
TARGET=x86_64-apple-darwin
|
TARGET=$(uname -m)-apple-darwin
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
err "machine architecture is currently unsupported"
|
err "machine architecture is currently unsupported"
|
||||||
|
@ -31,7 +31,7 @@ fi
|
|||||||
|
|
||||||
case "$OS" in
|
case "$OS" in
|
||||||
osx)
|
osx)
|
||||||
TARGET=x86_64-apple-darwin
|
TARGET=$(uname -m)-apple-darwin
|
||||||
;;
|
;;
|
||||||
linux)
|
linux)
|
||||||
TARGET=x86_64-unknown-linux-gnu
|
TARGET=x86_64-unknown-linux-gnu
|
||||||
|
@ -9,7 +9,7 @@ OS=${1:-linux}
|
|||||||
|
|
||||||
case "$OS" in
|
case "$OS" in
|
||||||
osx)
|
osx)
|
||||||
TARGET=x86_64-apple-darwin
|
TARGET=$(uname -m)-apple-darwin
|
||||||
;;
|
;;
|
||||||
linux)
|
linux)
|
||||||
TARGET=x86_64-unknown-linux-gnu
|
TARGET=x86_64-unknown-linux-gnu
|
||||||
|
Reference in New Issue
Block a user