stage: source
tags:
- linux
- image: "$CI_REGISTRY_IMAGE:ubuntu-18.04"
+ image: "$CI_REGISTRY_IMAGE/ubuntu-18.04:$CI_COMMIT_SHA"
script:
- ./autogen.sh
- ./configure --enable-man-pdfs
metrics: metrics.txt
except:
- tags
+ image: "$CI_REGISTRY_IMAGE/$IMAGE:$CI_COMMIT_SHA"
.build_template: &deb_build_definition
stage: build
metrics: metrics.txt
except:
- tags
+ image: "$CI_REGISTRY_IMAGE/$IMAGE:$CI_COMMIT_SHA"
.build_template: &macos_build_definition
stage: build
except:
- tags
+.linux_test_template: &linux_test_definition
+ <<: *test_definition
+ image: "$CI_REGISTRY_IMAGE/$IMAGE:$CI_COMMIT_SHA"
+
centos7-build:
<<: *rpm_build_definition
tags:
- linux
- image: "$CI_REGISTRY_IMAGE:centos7"
+ variables:
+ IMAGE: centos7
centos8-build:
<<: *rpm_build_definition
tags:
- linux
- image: "$CI_REGISTRY_IMAGE:centos8"
+ variables:
+ IMAGE: centos8
fedora32-build:
<<: *rpm_build_definition
tags:
- linux
- image: "$CI_REGISTRY_IMAGE:fedora32"
+ variables:
+ IMAGE: fedora32
fedora33-build:
<<: *rpm_build_definition
tags:
- linux
- image: "$CI_REGISTRY_IMAGE:fedora33"
+ variables:
+ IMAGE: fedora33
ubuntu18-04-build:
<<: *deb_build_definition
tags:
- linux
- image: "$CI_REGISTRY_IMAGE:ubuntu-18.04"
+ variables:
+ IMAGE: ubuntu-18.04
ubuntu20-04-debug-build:
<<: *deb_build_definition
- export CXXFLAGS="-DDEBUG"
tags:
- linux
- image: "$CI_REGISTRY_IMAGE:ubuntu-20.04"
+ variables:
+ IMAGE: ubuntu-20.04
ubuntu20-04-build:
<<: *deb_build_definition
tags:
- linux
- image: "$CI_REGISTRY_IMAGE:ubuntu-20.04"
+ variables:
+ IMAGE: ubuntu-20.04
ubuntu20-10-build:
<<: *deb_build_definition
tags:
- linux
- image: "$CI_REGISTRY_IMAGE:ubuntu-20.10"
+ variables:
+ IMAGE: ubuntu-20.10
macos-autotools-build:
<<: *macos_build_definition
- echo experimental > COLLECTION
tags:
- linux
- image: "$CI_REGISTRY_IMAGE:ubuntu-18.04"
+ variables:
+ IMAGE: ubuntu-18.04
ubuntu20-10-cmake-build:
<<: *deb_build_definition
- echo experimental > COLLECTION
tags:
- linux
- image: "$CI_REGISTRY_IMAGE:ubuntu-20.10"
+ variables:
+ image: ubuntu-20.10
centos7-cmake-build:
<<: *rpm_build_definition
- echo experimental > COLLECTION
tags:
- linux
- image: "$CI_REGISTRY_IMAGE:centos7"
+ variables:
+ IMAGE: centos7
fedora32-cmake-build:
<<: *rpm_build_definition
- echo experimental > COLLECTION
tags:
- linux
- image: "$CI_REGISTRY_IMAGE:fedora32"
+ variables:
+ IMAGE: fedora32
macos-cmake-build:
<<: *macos_build_definition
- tags
ubuntu18-04-test:
- <<: *test_definition
+ <<: *linux_test_definition
before_script:
- export build_system="autotools"
needs:
artifacts: true
tags:
- linux
- image: "$CI_REGISTRY_IMAGE:ubuntu-18.04"
+ variables:
+ IMAGE: ubuntu-18.04
ubuntu20-04-test:
- <<: *test_definition
+ <<: *linux_test_definition
before_script:
- export build_system="autotools"
needs:
artifacts: true
tags:
- linux
- image: "$CI_REGISTRY_IMAGE:ubuntu-20.04"
+ variables:
+ IMAGE: ubuntu-20.04
ubuntu20-10-test:
- <<: *test_definition
+ <<: *linux_test_definition
before_script:
- export build_system="autotools"
needs:
artifacts: true
tags:
- linux
- image: "$CI_REGISTRY_IMAGE:ubuntu-20.10"
+ variables:
+ IMAGE: ubuntu-20.10
centos7-test:
- <<: *test_definition
+ <<: *linux_test_definition
before_script:
- export build_system="autotools"
needs:
artifacts: true
tags:
- linux
- image: "$CI_REGISTRY_IMAGE:centos7"
+ variables:
+ IMAGE: centos7
centos8-test:
- <<: *test_definition
+ <<: *linux_test_definition
before_script:
- export build_system="autotools"
needs:
artifacts: true
tags:
- linux
- image: "$CI_REGISTRY_IMAGE:centos8"
+ variables:
+ IMAGE: centos8
fedora32-test:
- <<: *test_definition
+ <<: *linux_test_definition
before_script:
- export build_system="autotools"
needs:
artifacts: true
tags:
- linux
- image: "$CI_REGISTRY_IMAGE:fedora32"
+ variables:
+ IMAGE: fedora32
fedora33-test:
- <<: *test_definition
+ <<: *linux_test_definition
before_script:
- export build_system="autotools"
needs:
artifacts: true
tags:
- linux
- image: "$CI_REGISTRY_IMAGE:fedora33"
+ variables:
+ IMAGE: fedora33
macos-autotools-test:
<<: *test_definition
- macos
ubuntu18-04-cmake-test:
- <<: *test_definition
+ <<: *linux_test_definition
before_script:
- export build_system="cmake"
- echo experimental > COLLECTION
artifacts: true
tags:
- linux
- image: "$CI_REGISTRY_IMAGE:ubuntu-18.04"
+ variables:
+ IMAGE: ubuntu-18.04
ubuntu20-10-cmake-test:
- <<: *test_definition
+ <<: *linux_test_definition
before_script:
- export build_system="cmake"
- echo experimental > COLLECTION
artifacts: true
tags:
- linux
- image: "$CI_REGISTRY_IMAGE:ubuntu-20.10"
+ variables:
+ IMAGE: ubuntu-20.10
centos7-cmake-test:
- <<: *test_definition
+ <<: *linux_test_definition
before_script:
- export build_system="cmake"
- echo experimental > COLLECTION
artifacts: true
tags:
- linux
- image: "$CI_REGISTRY_IMAGE:centos7"
+ variables:
+ IMAGE: centos7
fedora32-cmake-test:
- <<: *test_definition
+ <<: *linux_test_definition
before_script:
- export build_system="cmake"
- echo experimental > COLLECTION
artifacts: true
tags:
- linux
- image: "$CI_REGISTRY_IMAGE:fedora32"
+ variables:
+ IMAGE: fedora32
macos-cmake-test:
<<: *test_definition