5 # Commit of ghc/ci-images repository from which to pull Docker images
6 DOCKER_REV: "a9297a370025101b479cfd4977f8f910814e03ab"
9 CABAL_INSTALL_VERSION: 3.10.2.0
15 # Triggered if you start it from the gitlab web ui
16 - if: '$CI_PIPELINE_SOURCE == "web"'
61 image: "registry.gitlab.haskell.org/ghc/ci-images/$PLATFORM:$DOCKER_REV"
63 PLATFORM: "${ARCH}-linux-${OS}"
64 TARBALL_ARCHIVE_SUFFIX: $PLATFORM
66 ADD_CABAL_ARGS: "--enable-split-sections"
72 - ARCH: [i386, x86_64]
73 OS: [alpine3_12, alpine3_15, alpine3_17]
75 # Was 3_18 for i386 intentionally left off?
86 - sudo apk add --no-cache zlib zlib-dev zlib-static
87 image: "registry.gitlab.haskell.org/ghc/ci-images/$PLATFORM:$DOCKER_REV"
89 PLATFORM: "${ARCH}-linux-${OS}"
90 TARBALL_ARCHIVE_SUFFIX: $PLATFORM
92 ADD_CABAL_ARGS: "--enable-split-sections --enable-executable-static"
98 # Help me with names pls
106 # Using 9.8.2 to work around
107 # https://gitlab.haskell.org/ghc/ghc/-/issues/24050
109 TARBALL_ARCHIVE_SUFFIX: ${ARCH}-darwin
113 - arch -${ARCHARCH} /bin/bash .gitlab/ci.sh
118 - $env:CHERE_INVOKING = "yes"
119 - bash '-lc' "ADD_CABAL_ARGS=$env:ADD_CABAL_ARGS GHC_VERSION=$env:GHC_VERSION CABAL_INSTALL_VERSION=$CABAL_INSTALL_VERSION .gitlab/ci.sh"
123 TARBALL_ARCHIVE_SUFFIX: x86_64-windows