aboutsummaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
blob: 21d1628e7b5eb4fc23cc2ebc18fd2fa223761d47 (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
stages:
  - build

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

job-ghc8.6:
  image: registry.gitlab.com/dxld/ghc-mod:ghc8.6.5-cabal-install2.4.1.0-stack2.1.1
  stage: build
  script: "$CI_PROJECT_DIR/scripts/ci/build.sh"

job-ghc8.4:
  image: registry.gitlab.com/dxld/ghc-mod:ghc8.4.4-cabal-install2.4.1.0-stack2.1.1
  stage: build
  script: "$CI_PROJECT_DIR/scripts/ci/build.sh"

job-ghc8.2:
  image: registry.gitlab.com/dxld/ghc-mod:ghc8.2.2-cabal-install2.4.1.0-stack2.1.1
  stage: build
  script: "$CI_PROJECT_DIR/scripts/ci/build.sh"

job-ghc8.0:
  image: registry.gitlab.com/dxld/ghc-mod:ghc8.0.2-cabal-install2.4.1.0-stack2.1.1
  stage: build
  script: "$CI_PROJECT_DIR/scripts/ci/build.sh"

job-ghc7.10:
  image: registry.gitlab.com/dxld/ghc-mod:ghc7.10.3-cabal-install2.4.1.0-stack2.1.1
  stage: build
  script: "$CI_PROJECT_DIR/scripts/ci/build.sh"

job-check-upd:
  image: registry.gitlab.com/dxld/ghc-mod:ghc7.10.3-cabal-install2.4.1.0-stack2.1.1
  stage: build
  script:
    - cd "$CI_PROJECT_DIR"/scripts/ci
    - ./update-stack-resolvers.sh | tee stack-resolvers.new
    - git diff --exit-code -- stack-resolvers stack-resolvers.new