Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Christopher League
bookme
Commits
f6cb626e
Commit
f6cb626e
authored
Jun 05, 2018
by
Christopher League
Browse files
GitLab CI: some investigation, use custom Docker img
parent
fbc1dacf
Pipeline
#532
passed with stage
in 10 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
f6cb626e
image
:
ubuntu:18.04
image
:
league/haskell-stack:20180605
# Here are two problems we're trying to solve with this before_script:
# https://github.com/commercialhaskell/stackage/issues/3132
...
...
@@ -12,17 +12,19 @@ image: ubuntu:18.04
# need build-essential.
before_script
:
-
apt-get -y update
-
apt-get -y install netbase curl
-
curl -sSL https://get.haskellstack.org/ | sh
-
echo USER IS $(whoami)
-
echo HOME IS $HOME
-
ls -l /
build
:
# For some reason, just `stack` uses the old version, so explicitly
# ask for the new one from ~/.local:
script
:
-
stack build
-
echo Fake build
-
echo PWD is $(pwd)
-
mkdir .stack-work
-
touch .stack-work/SAVED
cache
:
paths
:
-
/root/.stack
-
/home/bookme/.stack-work
-
.stack-work
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment