From 2e6fc8efef278eabeb6b98dfb125d3b1cc02742c Mon Sep 17 00:00:00 2001 From: Jasper Van der Jeugt Date: Sat, 12 Jan 2019 16:38:31 +0100 Subject: Bump CircleCI configuration --- .circleci/config.yml | 16 +++++----------- 1 file changed, 5 insertions(+), 11 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index bdba9d5..6e686b2 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -6,20 +6,14 @@ jobs: steps: - checkout - restore_cache: - key: 'v2-hakyll-{{ arch }}-{{ .Branch }}' - - run: - name: 'Update cabal indices' - command: 'cabal update' + key: 'v3-hakyll-{{ arch }}-{{ .Branch }}' - run: # We set jobs to 1 here because that prevents Out-Of-Memory exceptions # while compiling dependencies. name: 'Install dependencies' - command: '.circleci/tickle.sh cabal install --only-dependencies --enable-tests --jobs=1 --flags="+buildWebsite"' - - run: - name: 'Build and run tests' - command: 'cabal test' + command: '.circleci/tickle.sh stack build --test --copy-bins --jobs=1' - save_cache: - key: 'v2-hakyll-{{ arch }}-{{ .Branch }}-{{ .Revision }}' + key: 'v3-hakyll-{{ arch }}-{{ .Branch }}-{{ .Revision }}' paths: - - '~/.cabal' - - '~/.ghc' + - '~/.stack-work' + - '~/.stack' -- cgit v1.2.3