Improve bootstrap test

This commit is contained in:
Julian Ospald 2020-09-29 10:57:21 +02:00
parent 1ae0c2a654
commit 03bac93929
No known key found for this signature in database
GPG Key ID: 511B62C09D50CD28
3 changed files with 13 additions and 1 deletions

View File

@ -106,7 +106,7 @@ variables:
test:linux:bootstrap_script:
before_script:
- ./.gitlab/before_script/linux/install_deps.sh
- ./.gitlab/before_script/linux/install_deps_minimal.sh
script:
- ./.gitlab/script/ghcup_bootstrap.sh
variables:

View File

@ -0,0 +1,10 @@
#!/bin/sh
set -eux
. "$( cd "$(dirname "$0")" ; pwd -P )/../../ghcup_env"
mkdir -p "${TMPDIR}"
sudo apt-get update -y
sudo apt-get install -y libnuma-dev zlib1g-dev libgmp-dev libgmp10 libssl-dev liblzma-dev git wget

View File

@ -26,3 +26,5 @@ export BOOTSTRAP_HASKELL_CABAL_VERSION=$CABAL_VERSION
./bootstrap-haskell
[ "$(ghc --numeric-version)" = "${GHC_VERSION}" ]