Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
GNU Generation
GnuPaste
Commits
c566e335
Commit
c566e335
authored
Dec 21, 2020
by
Antoine Fontaine
🎱
Browse files
caching attempt
parent
6638700d
Pipeline
#2050
passed with stages
in 72 minutes
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
c566e335
...
...
@@ -4,6 +4,15 @@ stages:
-
checking
-
deploy
cache
:
when
:
always
paths
:
-
.stack-work
-
$HOME/.stack
-
/root/.stack
-
../.stack
-
.stack
# Build package using dpkg-buildpackage
run-build
:
stage
:
build
...
...
@@ -14,6 +23,7 @@ run-build:
-
echo 'Acquire::http { Proxy "http://rapperswil:3142"; };' > /etc/apt/apt.conf.d/02proxy
-
apt-get update -qy
-
apt-get install -y build-essential haskell-stack zlib1g-dev
-
ln -s $(pwd)/.stack ~/.stack
-
stack upgrade
script
:
-
stack build --copy-bins --pedantic --ghc-options -Wno-name-shadowing
...
...
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