.gitlab-ci.yml 1.14 KB
Newer Older
1 2 3 4
stages:
  - build
  - test
  - deploy
5

6 7
.build_template: &build_definition
  stage: build
8
  script:
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
    - misc/ci-docker.sh misc/ci-local.sh

build:
  variables:
    COMPILER: system
  <<: *build_definition

build-4.03.0:
  variables:
    COMPILER: 4.03.0
  <<: *build_definition

build-4.04.0:
  variables:
    COMPILER: 4.04.0
  <<: *build_definition

build-4.05.0:
  variables:
    COMPILER: 4.05.0
  <<: *build_definition

build-4.06.0:
  variables:
    COMPILER: 4.06.0
  <<: *build_definition

bench:
  stage: test
  variables:
    COMPILER: system
  script:
41
    - misc/ci-docker.sh misc/ci-local.sh bench
42 43 44 45

.bench_template: &bench_definition
  stage: test
  script:
46
    - misc/ci-docker.sh misc/ci-local.sh bench
47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73
  only:
    - tags
    - schedules

bench-4.03.0:
  variables:
    COMPILER: 4.03.0
  <<: *bench_definition

bench-4.04.0:
  variables:
    COMPILER: 4.04.0
  <<: *bench_definition

bench-4.05.0:
  variables:
    COMPILER: 4.05.0
  <<: *bench_definition

bench-4.06.0:
  variables:
    COMPILER: 4.06.0
  <<: *bench_definition

deploy:
  stage: deploy
  script:
74
    - misc/ci-deploy.sh
75 76 77 78
  only:
    - master
    - /^bugfix[/]v[0-9.]*$/
    - tags