mirror of
https://github.com/taiki-e/install-action.git
synced 2026-04-27 01:20:28 +00:00
ci: Test AArch64 Windows
This commit is contained in:
5
main.sh
5
main.sh
@@ -538,7 +538,10 @@ case "$(uname -m)" in
|
||||
# https://github.com/actions/runner/blob/v2.321.0/.github/workflows/build.yml#L21
|
||||
# https://docs.github.com/en/actions/hosting-your-own-runners/about-self-hosted-runners#supported-architectures-and-operating-systems-for-self-hosted-runners
|
||||
# So we can assume x86_64 unless it is AArch64 or Arm.
|
||||
*) host_arch=x86_64 ;;
|
||||
*)
|
||||
# TODO: uname -m on windows-11-arm returns "x86_64"
|
||||
host_arch=x86_64
|
||||
;;
|
||||
esac
|
||||
info "host platform: ${host_arch}_${host_os}"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user