aboutsummaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
blob: 5856ae26ea39ee3ca261397ef4cc9dbcd4727a4b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
image: haskell:latest

cache:
  paths:
  - .stack-work
  - output
  - node_modules
  - bower_components
  - yarn.lock

build:
  script:
    - apt-get update && apt-get install -y xz-utils make nodejs
    - npm install bower
    - npm install purescript
    - npm install pulp
    - export PATH="$(pwd)/node_modules/.bin":$PATH
    - bower install --allow-root
    - export STACK_ROOT="$(pwd)/.stack"
    - stack setup
    - stack install --only-dependencies
    - stack build
    - stack exec cooking build
  artifacts:
    paths:
      - public
  only:
    - master