Commit c566e335 authored by Antoine Fontaine's avatar Antoine Fontaine 🎱
Browse files

caching attempt

parent 6638700d
Pipeline #2050 passed with stages
in 72 minutes
......@@ -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
......
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