From cff739998124f40698680fb321f2032bf9ca480b Mon Sep 17 00:00:00 2001 From: Joris Date: Sat, 29 Oct 2016 23:51:12 +0200 Subject: Add gitlab CI --- .gitlab-ci.yml | 18 ++++++++++++++++++ Cooking.cabal | 2 +- 2 files changed, 19 insertions(+), 1 deletion(-) create mode 100644 .gitlab-ci.yml diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000..0f6b6cc --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,18 @@ +image: haskell:7.10.3 + +pages: + cache: + paths: + - _cache + - .stack + before_script: + - export STACK_ROOT=`pwd`/.stack + - stack install --only-dependencies + - stack build + script: + - stack exec site build + artifacts: + paths: + - public + only: + - master diff --git a/Cooking.cabal b/Cooking.cabal index 3d1cef5..7fee784 100644 --- a/Cooking.cabal +++ b/Cooking.cabal @@ -1,4 +1,4 @@ -name: cooking +name: Cooking version: 0.1.0.0 build-type: Simple cabal-version: >= 1.10 -- cgit v1.2.3