summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClint Adams <clint@debian.org>2019-06-30 11:08:21 -0400
committerClint Adams <clint@debian.org>2019-06-30 11:08:21 -0400
commitf6b2392b5b9f584f9c7e82bca5d7949133933a05 (patch)
tree59f381c3c36245c51fb1eb80adec502792342c53
parent2e668b8a7befac97a4fd4c1d928fc55a4f3eefc3 (diff)
update CI config (add GHC 8.6, drop GHC 8.0)
-rw-r--r--.gitlab-ci.yml63
1 files changed, 43 insertions, 20 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 626406a..2d5ef07 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,44 +1,67 @@
1before_script: 1before_script:
2- apt update && apt -y -u upgrade 2- apt update && apt -y -u upgrade
3- cabal update 3- cabal new-update
4- cabal sandbox init
5 4
6stages: 5stages:
7- test 6- test
8- bench 7- bench
9 8
10test:8.0:
11 image: clinty/haskell:8.0
12 script:
13 - cabal install --only-dependencies --enable-tests
14 - cabal test
15
16test:8.2: 9test:8.2:
17 image: clinty/haskell:8.2 10 image: clinty/haskell:8.2
11 stage: test
12 cache:
13 key: ${CI_COMMIT_REF_SLUG}-8.2
14 paths:
15 - dist-newstyle/
18 script: 16 script:
19 - cabal install --only-dependencies --enable-tests 17 - cabal new-test
20 - cabal test
21 18
22test:8.4: 19test:8.4:
23 image: clinty/haskell:8.4 20 image: clinty/haskell:8.4
21 stage: test
22 cache:
23 key: ${CI_COMMIT_REF_SLUG}-8.4
24 paths:
25 - dist-newstyle/
24 script: 26 script:
25 - cabal install --only-dependencies --enable-tests 27 - cabal new-test
26 - cabal test
27 28
28bench:8.0: 29test:8.6:
29 image: clinty/haskell:8.0 30 image: clinty/haskell:8.6
31 stage: test
32 cache:
33 key: ${CI_COMMIT_REF_SLUG}-8.6
34 paths:
35 - dist-newstyle/
30 script: 36 script:
31 - cabal install --only-dependencies --enable-benchmarks 37 - cabal new-test
32 - cabal bench
33 38
34bench:8.2: 39bench:8.2:
35 image: clinty/haskell:8.2 40 image: clinty/haskell:8.2
41 stage: bench
42 cache:
43 key: ${CI_COMMIT_REF_SLUG}-8.2
44 paths:
45 - dist-newstyle/
36 script: 46 script:
37 - cabal install --only-dependencies --enable-benchmarks 47 - cabal new-bench
38 - cabal bench
39 48
40bench:8.4: 49bench:8.4:
41 image: clinty/haskell:8.4 50 image: clinty/haskell:8.4
51 stage: bench
52 cache:
53 key: ${CI_COMMIT_REF_SLUG}-8.4
54 paths:
55 - dist-newstyle/
56 script:
57 - cabal new-bench
58
59bench:8.6:
60 image: clinty/haskell:8.6
61 stage: bench
62 cache:
63 key: ${CI_COMMIT_REF_SLUG}-8.6
64 paths:
65 - dist-newstyle/
42 script: 66 script:
43 - cabal install --only-dependencies --enable-benchmarks 67 - cabal new-bench
44 - cabal bench