aboutsummaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorJoris2016-05-25 14:31:53 +0200
committerJoris2017-07-25 00:36:39 +0200
commit7091d40b31d4e9fe32ab15b865397e9abf0ba5d8 (patch)
tree237d92ecd75edf3a875b08921ea5e5eae8eac085 /.gitlab-ci.yml
Init with potimarron page
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml20
1 files changed, 20 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
new file mode 100644
index 0000000..155de00
--- /dev/null
+++ b/.gitlab-ci.yml
@@ -0,0 +1,20 @@
+image: haskell:latest
+
+cache:
+ paths:
+ - .stack-work
+ - output
+
+pages:
+ script:
+ - apt-get update
+ - apt-get install -y xz-utils make
+ - export STACK_ROOT="$(pwd)/.stack"
+ - stack setup
+ - stack build
+ - stack exec cooking build
+ artifacts:
+ paths:
+ - public
+ only:
+ - master