]> git.ipfire.org Git - thirdparty/git.git/commit
ci: use regular action versions for linux32 job
authorJeff King <peff@peff.net>
Thu, 12 Sep 2024 09:48:41 +0000 (05:48 -0400)
committerJunio C Hamano <gitster@pobox.com>
Thu, 12 Sep 2024 17:21:10 +0000 (10:21 -0700)
commit9c261856c91f9312a285cdc6ff863997f0cdf98a
treece1be457690f47b324b800301815a975ab82078d
parent9ce2e99c7d5518b622c3017cd12aa254c853df4f
ci: use regular action versions for linux32 job

The linux32 job runs inside a docker container with a 32-bit libc, etc.
This breaks any GitHub Actions scripts that are implemented in
javascript, because they ship with their own 64-bit version of Node.js
that's dynamically linked. They'll fail with a message like:

    exec /__e/node20/bin/node: no such file or directory

because they can't find the runtime linker.

This hasn't been a problem until recently because we special-case older,
non-javascript versions of these actions for the linux32 job. But it
recently became an issue when our old version of actions/upload-artifact
was deprecated, causing the job to fail. We worked around that in
90f2c7240c (ci: remove 'Upload failed tests' directories' step from
linux32 jobs, 2024-09-09), but it meant a loss of functionality for that
job. And we may eventually run into the same deprecation problem with
actions/checkout, which can't just be removed.

We can solve the linking issue by installing the 64-bit libc and stdc++
packages before doing anything else. Coupled with the switch to a more
recent image in the previous patch, that lets us remove the
special-casing of the action scripts entirely.

Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
.github/workflows/main.yml