Add partial support for cross-compiling on Linux ARM runners

Until https://github.com/cross-rs/cross/issues/1628 is resolved, running cross on Linux ARM also
requires the user to provide a custom Docker image, so this is only sort of usable.
This commit is contained in:
Dave Rolsky
2025-02-17 00:15:27 -06:00
parent 601d02e82d
commit 83dc934d7f
4 changed files with 55 additions and 1 deletions

View File

@@ -1,3 +1,9 @@
## 1.0.3
- Fixed a bug when running with an ARM Linux host where the action would use a cached `cross`
download for x86-64 Linux (or vice versa). Now the cache key for the `cross` binary includes both
the runner's architecture in addition to its OS.
## 1.0.2 - 2025-02-16
- Added a new `force-use-cross` input, which does what it says. It will force the use of `cross`