summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
blob: 2d5ef076e05c8a1cccd597bbf6bd03dd548f8a67 (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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
before_script:
- apt update && apt -y -u upgrade
- cabal new-update

stages:
- test
- bench

test:8.2:
  image: clinty/haskell:8.2
  stage: test
  cache:
    key: ${CI_COMMIT_REF_SLUG}-8.2
    paths:
    - dist-newstyle/
  script:
  - cabal new-test

test:8.4:
  image: clinty/haskell:8.4
  stage: test
  cache:
    key: ${CI_COMMIT_REF_SLUG}-8.4
    paths:
    - dist-newstyle/
  script:
  - cabal new-test

test:8.6:
  image: clinty/haskell:8.6
  stage: test
  cache:
    key: ${CI_COMMIT_REF_SLUG}-8.6
    paths:
    - dist-newstyle/
  script:
  - cabal new-test

bench:8.2:
  image: clinty/haskell:8.2
  stage: bench
  cache:
    key: ${CI_COMMIT_REF_SLUG}-8.2
    paths:
    - dist-newstyle/
  script:
  - cabal new-bench

bench:8.4:
  image: clinty/haskell:8.4
  stage: bench
  cache:
    key: ${CI_COMMIT_REF_SLUG}-8.4
    paths:
      - dist-newstyle/
  script:
  - cabal new-bench

bench:8.6:
  image: clinty/haskell:8.6
  stage: bench
  cache:
    key: ${CI_COMMIT_REF_SLUG}-8.6
    paths:
      - dist-newstyle/
  script:
  - cabal new-bench