diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 3ba208eed925d2b37860b0264b41643049cc498b..3a365294dc2b8450a2feea5c75f1b1225a0427c1 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -161,7 +161,7 @@ release:linux:32bit: before_script: - ./.gitlab/before_script/linux/alpine/install_deps.sh variables: - ARTIFACT: "x86_64-linux-ghcup" + ARTIFACT: "i386-linux-ghcup" GHC_VERSION: "8.8.3" CABAL_VERSION: "3.2.0.0" diff --git a/.gitlab/script/ghcup_release.sh b/.gitlab/script/ghcup_release.sh index f8728fca9b8617598909168a495fbf4c6ed384a6..63235d9a27012a16900adff8e57d59353518736a 100755 --- a/.gitlab/script/ghcup_release.sh +++ b/.gitlab/script/ghcup_release.sh @@ -15,6 +15,8 @@ ecabal update if [ "${OS}" = "LINUX" ] ; then ecabal build -w ghc-${GHC_VERSION} -fcurl --ghc-options='-split-sections -optl-static' +elif [ "${OS}" = "FREEBSD" ] ; then + ecabal build -w ghc-${GHC_VERSION} -fcurl --ghc-options='-split-sections' else ecabal build -w ghc-${GHC_VERSION} -fcurl fi