Commit f6cb626e authored by Christopher League's avatar Christopher League 🖥

GitLab CI: some investigation, use custom Docker img

parent fbc1dacf
Pipeline #532 passed with stage
in 10 seconds
image: ubuntu:18.04 image: league/haskell-stack:20180605
# Here are two problems we're trying to solve with this before_script: # Here are two problems we're trying to solve with this before_script:
# https://github.com/commercialhaskell/stackage/issues/3132 # https://github.com/commercialhaskell/stackage/issues/3132
...@@ -12,17 +12,19 @@ image: ubuntu:18.04 ...@@ -12,17 +12,19 @@ image: ubuntu:18.04
# need build-essential. # need build-essential.
before_script: before_script:
- apt-get -y update - echo USER IS $(whoami)
- apt-get -y install netbase curl - echo HOME IS $HOME
- curl -sSL https://get.haskellstack.org/ | sh - ls -l /
build: build:
# For some reason, just `stack` uses the old version, so explicitly # For some reason, just `stack` uses the old version, so explicitly
# ask for the new one from ~/.local: # ask for the new one from ~/.local:
script: script:
- stack build - echo Fake build
- echo PWD is $(pwd)
- mkdir .stack-work
- touch .stack-work/SAVED
cache: cache:
paths: paths:
- /root/.stack - .stack-work
- /home/bookme/.stack-work
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment