Fix release builds
This commit is contained in:
parent
ed4ff15f96
commit
2e28b0d00f
@ -161,7 +161,7 @@ release:linux:32bit:
|
|||||||
before_script:
|
before_script:
|
||||||
- ./.gitlab/before_script/linux/alpine/install_deps.sh
|
- ./.gitlab/before_script/linux/alpine/install_deps.sh
|
||||||
variables:
|
variables:
|
||||||
ARTIFACT: "x86_64-linux-ghcup"
|
ARTIFACT: "i386-linux-ghcup"
|
||||||
GHC_VERSION: "8.8.3"
|
GHC_VERSION: "8.8.3"
|
||||||
CABAL_VERSION: "3.2.0.0"
|
CABAL_VERSION: "3.2.0.0"
|
||||||
|
|
||||||
|
@ -15,6 +15,8 @@ ecabal update
|
|||||||
|
|
||||||
if [ "${OS}" = "LINUX" ] ; then
|
if [ "${OS}" = "LINUX" ] ; then
|
||||||
ecabal build -w ghc-${GHC_VERSION} -fcurl --ghc-options='-split-sections -optl-static'
|
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
|
else
|
||||||
ecabal build -w ghc-${GHC_VERSION} -fcurl
|
ecabal build -w ghc-${GHC_VERSION} -fcurl
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user