summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorBram <perl-rt@wizbit.be>2022-09-11 22:18:40 +0200
committerKarl Williamson <khw@cpan.org>2022-09-13 18:52:00 -0600
commitdee6987387b7ea27c65bb8d9097b92be9a13722b (patch)
tree58db34eb8410f017392d2178f12c7abe85b61506 /.github
parent7201856e3a53d05224c96b82b7b61a85d7cce1a6 (diff)
downloadperl-dee6987387b7ea27c65bb8d9097b92be9a13722b.tar.gz
CI/linux-i386: Explain why 'checkout@v2' fails
TLDR: it uses a 64-bit binary inside a 32-bit container. (For details see the code)
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/testsuite.yml8
1 files changed, 7 insertions, 1 deletions
diff --git a/.github/workflows/testsuite.yml b/.github/workflows/testsuite.yml
index 24962a53e0..101715eb40 100644
--- a/.github/workflows/testsuite.yml
+++ b/.github/workflows/testsuite.yml
@@ -215,7 +215,13 @@ jobs:
run: |
apt-get update
apt-get install -y build-essential git-core libgdbm-dev libdb-dev
- # actions/checkout@v2 doesn't work in a container, so we use v1.
+ # actions/checkout@v2 doesn't work in a i386 container: the GitHub runner
+ # uses `node` that is installed on the host inside the container. The host
+ # is (likely) running x86_64 and using a binary build for x86_64 inside a
+ # i386 container just doesn't work.
+ # Upstream reports:
+ # - https://github.com/actions/checkout/issues/334#issuecomment-1241306390
+ # - https://github.com/actions/runner/issues/2115
- uses: actions/checkout@v1
- name: fix git remote credential
run: |