]> git.ipfire.org Git - thirdparty/git.git/commitdiff
gitlab-ci: add linux32 job testing against i386
authorPatrick Steinhardt <ps@pks.im>
Fri, 10 Jan 2025 11:32:03 +0000 (12:32 +0100)
committerJunio C Hamano <gitster@pobox.com>
Fri, 10 Jan 2025 17:15:38 +0000 (09:15 -0800)
Add another job to GitLab CI that tests against the i386 architecture.
This job is equivalent to the same job in GitHub Workflows.

Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
.gitlab-ci.yml
ci/lib.sh

index 00bc727865031620752771af4a9030c7de1b73df..29e9056dd5010f8843e42aeae8410973c825de54 100644 (file)
@@ -66,6 +66,8 @@ test:linux:
         image: fedora:latest
       - jobname: linux-musl
         image: alpine:latest
+      - jobname: linux32
+        image: i386/ubuntu:20.04
       - jobname: linux-meson
         image: ubuntu:latest
         CC: gcc
index f8b68ab8a6546802756fd516ca15a2c97223da5f..2293849ada3b45873f80e4392ab93c65657d0f13 100755 (executable)
--- a/ci/lib.sh
+++ b/ci/lib.sh
@@ -269,7 +269,7 @@ then
                CI_OS_NAME=osx
                JOBS=$(nproc)
                ;;
-       *,alpine:*|*,fedora:*|*,ubuntu:*)
+       *,alpine:*|*,fedora:*|*,ubuntu:*|*,i386/ubuntu:*)
                CI_OS_NAME=linux
                JOBS=$(nproc)
                ;;