Skip to content
Snippets Groups Projects
Commit dfdba916 authored by Ben Gamari's avatar Ben Gamari :turtle:
Browse files

gitlab-ci: Move build script out of yaml

parent 843e0f71
No related branches found
No related tags found
1 merge request!1gitlab-ci: Initial commit
......@@ -8,21 +8,7 @@
GHC_VERSION: unset
script:
- |
export BOOTSTRAP_HASKELL_NONINTERACTIVE=1
export BOOTSTRAP_HASKELL_GHC_VERSION="$GHC_VERSION"
curl --proto '=https' --tlsv1.2 -sSf https://get-ghcup.haskell.org | sh
source ~/.ghcup/env
- cabal update
- mkdir -p tmp
- |
cabal --store-dir=$(pwd)/cabal-store v2-install \
-j$CORES \
exe:haskell-language-server \
--enable-executable-static \
--enable-split-sections \
--installdir=./tmp
- bash .gitlab/build-linux.sh
cache:
key: "ghc-$GHC_VERSION"
......
#!/urs/bin/env bash
set -e -x
export BOOTSTRAP_HASKELL_NONINTERACTIVE=1
export BOOTSTRAP_HASKELL_GHC_VERSION="$GHC_VERSION"
curl --proto '=https' --tlsv1.2 -sSf https://get-ghcup.haskell.org | sh
source ~/.ghcup/env
cabal update
mkdir -p tmp
cabal --store-dir=$(pwd)/cabal-store v2-install \
-j$CORES \
exe:haskell-language-server \
--enable-executable-static \
--enable-split-sections \
--installdir=./tmp
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment