Require opt-in via force-arch to run x86 on macOS arm (#352)

* require opt-in via `force-arch` to run x86 on macOS arm

* Update src/setup-julia.ts

* Run `make everything-from-scratch`, and check-in

* Fix CI in #352 (#373)

* Fix CI in #352

* Clarify a statement about the support for 32-bit builds

---------

Co-authored-by: Dilum Aluthge <dilum@aluthge.com>
This commit is contained in:
Ian Butterworth
2026-03-04 20:18:16 +00:00
committed by GitHub
parent 4c0cb0fce8
commit 44a615affb
7 changed files with 100 additions and 24 deletions

View File

@@ -13,6 +13,10 @@ inputs:
description: 'Architecture of the Julia binaries. Defaults to the architecture of the runner executing the job.'
required: false
default: 'default'
force-arch:
description: 'Force the use of the specified architecture even when it may be suboptimal on the runner (e.g., x86 on Apple Silicon macOS runners). By default, requesting x86/x64 on aarch64 macOS runners will fail with an error.'
required: false
default: 'false'
show-versioninfo:
description: 'Display InteractiveUtils.versioninfo() after installing'
required: false