File tree Expand file tree Collapse file tree 2 files changed +36
-21
lines changed Expand file tree Collapse file tree 2 files changed +36
-21
lines changed Original file line number Diff line number Diff line change 1+ version : 2 
2+ jobs :
3+  build :
4+  docker :
5+  - image : " ubuntu:18.04" 
6+  steps :
7+  - checkout 
8+  - restore_cache :
9+  name : Restore Cached Dependencies 
10+  keys :
11+  - matplotlib-haskell-{{ checksum "package.yaml" }} 
12+  - run :
13+  name : System-wide dependencies 
14+  command : |- 
15+  apt-get install -y python3-pip python3-matplotlib python3-numpy 
16+  wget -qO- https://get.haskellstack.org/ | sh 
17+ run :
18+  name : Resolve/Update Dependencies 
19+  command : stack setup 
20+  - run :
21+  name : Build 
22+  command : |- 
23+  echo "apply-ghc-options: everything" >> stack.yaml 
24+  stack build --fast 
25+ run :
26+  name : Run tests 
27+  command : stack test --fast 
28+  - save_cache :
29+  name : Cache Dependencies 
30+  key : cci-demo-haskell-v2-{{ checksum "package.yaml" }} 
31+  paths :
32+  - " .stack-work" 
33+  - " /root/.stack" 
34+  - store_artifacts : #  upload build artifact for display in CircleCi
35+  path : ~/.local/bin/circleci-demo-haskell-exe 
36+  destination : matplotlib-haskell 
Load Diff This file was deleted. 
                         You can’t perform that action at this time. 
           
                  
0 commit comments