summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
blob: cf10b2e47980e4f0028cdb7141df73d81df54040 (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
image: registry.gitlab.com/libtiff/libtiff-ci-ubuntu22.04:latest

stages:
  - build
  - static-analysis
  - pages


autoconf-current:
  stage: build
  script:
    - sh build/gitlab-ci autoconf
  after_script:
    - 'cat autoconf-build/test/test-suite.log'
  artifacts:
    name: distribution
    paths:
    - distribution

autoconf-old:
  stage: build
  image: registry.gitlab.com/libtiff/libtiff-ci-ubuntu20.04:latest
  script:
    - sh build/gitlab-ci autoconf-minimal
  after_script:
    - 'cat autoconf-build/test/test-suite.log'

cmake-makefiles-current:
  stage: build
  script:
    - sh build/gitlab-ci cmake "Unix Makefiles" Release

cmake-ninja-current:
  stage: build
  script:
    - sh build/gitlab-ci cmake "Ninja" Debug

cmake-makefiles-old:
  stage: build
  image: registry.gitlab.com/libtiff/libtiff-ci-ubuntu20.04:latest
  script:
    - sh build/gitlab-ci cmake "Unix Makefiles" Release

coverity:
  stage: static-analysis
  image: registry.gitlab.com/libtiff/libtiff-ci-ubuntu22.04-coverity:latest
  script:
    - sh build/gitlab-ci coverity "Ninja" Debug
  only:
    refs:
      - master

pages:
  stage: pages
  script:
    - sh build/gitlab-ci cmake "Ninja" Debug
    - cp -r cmake-install/share/doc/tiff/manual/html public
  artifacts:
    name: $CI_PROJECT_NAME-$CI_JOB_NAME
    paths:
    - public
  only:
  - master