From 59229c2ae79697879b13c935d48c32742d27f786 Mon Sep 17 00:00:00 2001 From: Bryan Richter Date: Tue, 14 Mar 2023 12:55:25 +0200 Subject: [PATCH 1/3] Split PLATFORM into ARCH and OS (cherry picked from commit 7cfc9146bf8e694da397679a723338dc93c33c3b) --- .gitlab-ci.yml | 28 +++++++++++++++++----------- 1 file changed, 17 insertions(+), 11 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 3df905884ae..ab459fd6e7c 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -30,20 +30,26 @@ build-x86_64-linux: extends: .build parallel: matrix: - - PLATFORM: - - i386-linux-deb9 - - x86_64-linux-centos7 - - x86_64-linux-deb9 - - x86_64-linux-fedora33 - - x86_64-linux-rocky8 - - x86_64-linux-ubuntu18_04 - - x86_64-linux-ubuntu20_04 - - x86_64-linux-deb10 - - x86_64-linux-deb11 + - ARCH: i386 + TAG: x86_64-linux + OS: + - deb9 + - ARCH: x86_64 + TAG: x86_64-linux + OS: + - centos7 + - deb9 + - fedora33 + - rocky8 + - ubuntu18_04 + - ubuntu20_04 + - deb10 + - deb11 tags: - - x86_64-linux + - $TAG image: "registry.gitlab.haskell.org/ghc/ci-images/$PLATFORM:$DOCKER_REV" variables: + PLATFORM: "${ARCH}-linux-${OS}" TARBALL_ARCHIVE_SUFFIX: $PLATFORM TARBALL_EXT: tar.xz ADD_CABAL_ARGS: "--enable-split-sections" From 7dfcdd818e1d4ba635ff84b963bef19f40521fc2 Mon Sep 17 00:00:00 2001 From: Bryan Richter Date: Tue, 14 Mar 2023 12:57:00 +0200 Subject: [PATCH 2/3] Add aarch64-linux jobs (cherry picked from commit e35caf73445dcdf5bc62dcd661006f3c2f672563) --- .gitlab-ci.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index ab459fd6e7c..d5c3496d719 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -45,6 +45,11 @@ build-x86_64-linux: - ubuntu20_04 - deb10 - deb11 + - ARCH: aarch64 + TAG: aarch64-linux + OS: + - deb10 + - deb11 tags: - $TAG image: "registry.gitlab.haskell.org/ghc/ci-images/$PLATFORM:$DOCKER_REV" From 3c67da291c45b9d53006a19e051e759d56d071f0 Mon Sep 17 00:00:00 2001 From: Bryan Richter Date: Tue, 14 Mar 2023 13:05:46 +0200 Subject: [PATCH 3/3] Improve name of Linux matrix build It is no longer just x86_64. (cherry picked from commit a4693f835df170394256fb61eec454af6e4a09ef) --- .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index d5c3496d719..b9718af9e77 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -26,7 +26,7 @@ workflow: paths: - out/* -build-x86_64-linux: +build-linux: extends: .build parallel: matrix: