Require Windows ARM64 release artifacts
ci / test (push) Canceled after 0s
ci / fuzz-smoke (push) Canceled after 0s
ci / windows-client (push) Canceled after 0s
ci / package-release (linux-x86_64, ubuntu-latest, , , ) (push) Canceled after 0s
ci / package-release (macos-aarch64, macos-14, , , ) (push) Canceled after 0s
ci / package-release (macos-x86_64, macos-13, , , ) (push) Canceled after 0s
ci / package-release (windows-aarch64, windows-latest, aarch64, windows, aarch64-pc-windows-msvc) (push) Canceled after 0s
ci / package-release (windows-x86_64, windows-latest, , , ) (push) Canceled after 0s
ci / remote-bench (push) Canceled after 0s
ci / publish-gitea-release (push) Canceled after 0s
ci / test (push) Canceled after 0s
ci / fuzz-smoke (push) Canceled after 0s
ci / windows-client (push) Canceled after 0s
ci / package-release (linux-x86_64, ubuntu-latest, , , ) (push) Canceled after 0s
ci / package-release (macos-aarch64, macos-14, , , ) (push) Canceled after 0s
ci / package-release (macos-x86_64, macos-13, , , ) (push) Canceled after 0s
ci / package-release (windows-aarch64, windows-latest, aarch64, windows, aarch64-pc-windows-msvc) (push) Canceled after 0s
ci / package-release (windows-x86_64, windows-latest, , , ) (push) Canceled after 0s
ci / remote-bench (push) Canceled after 0s
ci / publish-gitea-release (push) Canceled after 0s
This commit is contained in:
@@ -27,14 +27,23 @@ normalize_arch() {
|
||||
}
|
||||
|
||||
host_os="$(normalize_os)"
|
||||
host_arch="$(normalize_arch)"
|
||||
os="${DOSH_PACKAGE_OS:-$host_os}"
|
||||
arch="${DOSH_PACKAGE_ARCH:-$(normalize_arch)}"
|
||||
arch="${DOSH_PACKAGE_ARCH:-$host_arch}"
|
||||
target="${DOSH_PACKAGE_TARGET:-}"
|
||||
if [ -z "$target" ] && [ "$os" = "windows" ] && [ "$host_os" != "windows" ]; then
|
||||
case "$arch" in
|
||||
x86_64) target="x86_64-pc-windows-gnu" ;;
|
||||
*) echo "set DOSH_PACKAGE_TARGET for windows/$arch" >&2; exit 1 ;;
|
||||
esac
|
||||
if [ -z "$target" ] && [ "$os" = "windows" ]; then
|
||||
if [ "$host_os" != "windows" ]; then
|
||||
case "$arch" in
|
||||
x86_64) target="x86_64-pc-windows-gnu" ;;
|
||||
*) echo "set DOSH_PACKAGE_TARGET for windows/$arch" >&2; exit 1 ;;
|
||||
esac
|
||||
elif [ "$arch" != "$host_arch" ]; then
|
||||
case "$arch" in
|
||||
x86_64) target="x86_64-pc-windows-msvc" ;;
|
||||
aarch64) target="aarch64-pc-windows-msvc" ;;
|
||||
*) echo "set DOSH_PACKAGE_TARGET for windows/$arch" >&2; exit 1 ;;
|
||||
esac
|
||||
fi
|
||||
fi
|
||||
if [ "$os" = "windows" ]; then
|
||||
artifact="dosh-$os-$arch.zip"
|
||||
|
||||
Reference in New Issue
Block a user