Skip to content
Snippets Groups Projects

CI wip

Merged Matthew Pickering requested to merge wip/ci into master
Files
2
.gitlab/ci.sh 0 → 100755
+ 23
0
#!/usr/bin/env bash
set -x
set -eo pipefail
runner_temp=$(mktemp -d)
export GHCUP_INSTALL_BASE_PREFIX=$runner_temp/foobarbaz
export BOOTSTRAP_HASKELL_NONINTERACTIVE=1
export BOOTSTRAP_HASKELL_MINIMAL=1
export BOOTSTRAP_HASKELL_ADJUST_BASHRC=1
curl --proto '=https' --tlsv1.2 -sSf https://get-ghcup.haskell.org | sh
source $GHCUP_INSTALL_BASE_PREFIX/.ghcup/env || source ~/.bashrc
ghcup --version
which ghcup | grep foobarbaz
ghcup install ghc --set $VERSION
ghcup install cabal
cabal update
cabal build
Loading