aboutsummaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
blob: 2deaba954982199540fcfa4d3e1a814f729367f5 (plain) (blame)
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
---
stages:
  - build

before_script:
  - mkdir -p ~/.cabal /cache/store
  - rm -rf ~/.cabal/store
  - ln -s /cache/store ~/.cabal/store

# CI images are built with scripts/build-ci-images.sh

job-ghc8.10:
  image: registry.gitlab.com/dxld/cabal-helper/ci:ghc-8.10.4--cabal-install-3.2.0.0--stack-2.5.1
  stage: build
  script: "$CI_PROJECT_DIR/scripts/ci/build.sh"

job-ghc8.8:
  image: registry.gitlab.com/dxld/cabal-helper/ci:ghc-8.8.4--cabal-install-3.2.0.0--stack-2.5.1
  stage: build
  script: "$CI_PROJECT_DIR/scripts/ci/build.sh"

job-ghc8.6:
  image: registry.gitlab.com/dxld/cabal-helper/ci:ghc-8.6.5--cabal-install-3.2.0.0--stack-2.5.1
  stage: build
  script: "$CI_PROJECT_DIR/scripts/ci/build.sh"

job-ghc8.4:
  image: registry.gitlab.com/dxld/cabal-helper/ci:ghc-8.4.4--cabal-install-3.2.0.0--stack-2.5.1
  stage: build
  script: "$CI_PROJECT_DIR/scripts/ci/build.sh"

job-ghc8.2:
  image: registry.gitlab.com/dxld/cabal-helper/ci:ghc-8.2.2--cabal-install-3.2.0.0--stack-2.5.1
  stage: build
  script: "$CI_PROJECT_DIR/scripts/ci/build.sh"

job-ghc8.0:
  image: registry.gitlab.com/dxld/cabal-helper/ci:ghc-8.0.2--cabal-install-3.2.0.0--stack-2.5.1
  stage: build
  script: "$CI_PROJECT_DIR/scripts/ci/build.sh"

job-check-upd:
  image: registry.gitlab.com/dxld/cabal-helper/ci:ghc-8.6.5--cabal-install-3.2.0.0--stack-2.5.1
  stage: build
  script:
    - apt-get install -yy jq
    - "$CI_PROJECT_DIR/scripts/ci/check-testdata.sh"
  allow_failure: true
  #^ this job is just informational, stack resolvers juts change too often
  # to keep up with