Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci(linux32): make Javascript Actions work in x86 mode
In February 2023, older `actions/upload-artifact` were deprecated: https://github.blog/changelog/2024-02-13-deprecation-notice-v1-and-v2-of-the-artifact-actions/ This was recently followed by brown-outs. However, the `linux32` job relied on those, as there are well-documented problems (see actions/runner#2115 for example) running modern, Javascript-based Actions in 32-bit only containers. To get the CI builds to work again, a work-around was implemented in https://lore.kernel.org/git/[email protected] to let the 32-bit container make use of the 64-bit node 20 provided by the Actions runner. This, however, runs the risk of using 64-bit executables when we purposefully chose a Docker image that only contains 32-bit bits and pieces so that accidental use of 64-bit libraries or executables would not happen. Let's go about this the other way round instead, by overriding the amd64 version of node 20 the Actions runner provides with an x86 one (which is "officially unofficial" by virtue of being hosted on unofficial-builds.nodejs.org). This allows us to stop using the now-deprecated versions of `actions/checkout` and `actions/upload-artifact` before these Actions became Javascript-based Actions. Signed-off-by: Johannes Schindelin <[email protected]>
- Loading branch information