Commit 69c6a183 authored by Antoine Fontaine's avatar Antoine Fontaine 🎱
Browse files

caching attempt

parent 6638700d
Pipeline #2045 canceled with stages
in 27 minutes and 43 seconds
......@@ -4,6 +4,14 @@ stages:
- checking
- deploy
cache:
when: always
paths:
- .stack-work
- $HOME/.stack
- ../.stack
- .stack
# Build package using dpkg-buildpackage
run-build:
stage: build
......@@ -14,9 +22,11 @@ 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
- stack path # debug
- cp $(stack path --local-bin)/gnupaste ./gnupaste
- dpkg-buildpackage -us -uc
- mkdir build-artifacts
......
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