Newer
Older
stages:
- test
variables:
GITLAB_MAKE: "make -f .gitlab.mk"
.release_only_template: &release_only_definition
only:
refs:
- "2.2"
- /^.*-full-ci$/
.docker_test_template: &docker_test_definition
image: "${CI_REGISTRY}/${CI_PROJECT_PATH}/testing/debian-stretch:latest"
stage: test
tags:
- docker_test
.docker_test_clang8_template: &docker_test_clang8_definition
image: "${CI_REGISTRY}/${CI_PROJECT_PATH}/testing/debian-buster:latest"
.deploy_template: &deploy_definition
<<: *release_only_definition
stage: test
tags:
- deploy
.deploy_test_template: &deploy_test_definition
<<: *release_only_definition
- deploy_test
script:
- ${GITLAB_MAKE} package
.vbox_template: &vbox_definition
stage: test
before_script:
- ${GITLAB_MAKE} vms_start
after_script:
- ${GITLAB_MAKE} vms_shutdown
# Tests
release:
<<: *docker_test_definition
script:
- ${GITLAB_MAKE} test_debian_no_deps
debug:
<<: *docker_test_definition
script:
- ${GITLAB_MAKE} test_coverage_debian_no_deps
release_clang:
<<: *docker_test_definition
variables:
CC: clang
CXX: clang++
script:
- ${GITLAB_MAKE} test_debian_no_deps
release_lto:
<<: *release_only_definition
<<: *docker_test_clang8_definition
variables:
CMAKE_EXTRA_PARAMS: -DENABLE_LTO=ON
script:
- ${GITLAB_MAKE} test_debian_no_deps
release_lto_clang8:
<<: *release_only_definition
<<: *docker_test_clang8_definition
variables:
CC: clang-8
CXX: clang++-8
CMAKE_EXTRA_PARAMS: -DENABLE_LTO=ON
script:
- ${GITLAB_MAKE} test_debian_no_deps
<<: *docker_test_clang8_definition
script:
- ${GITLAB_MAKE} test_asan_debian_no_deps
<<: *release_only_definition
<<: *vbox_definition
tags:
- vms_osx_13
variables:
VMS_NAME: 'osx_13'
VMS_USER: 'tarantool'
VMS_PORT: '2212'
script:
- ${GITLAB_MAKE} vms_test_osx
osx_14_release:
tags:
- vms_osx_14
variables:
VMS_NAME: 'osx_14'
VMS_USER: 'tarantool'
VMS_PORT: '2222'
script:
- ${GITLAB_MAKE} vms_test_osx
osx_14_release_lto:
<<: *release_only_definition
<<: *vbox_definition
tags:
- vms_osx_14
variables:
EXTRA_ENV: "export CMAKE_EXTRA_PARAMS=-DENABLE_LTO=ON ;"
VMS_NAME: 'osx_14'
VMS_USER: 'tarantool'
VMS_PORT: '2222'
script:
- ${GITLAB_MAKE} vms_test_osx
freebsd_12_release:
tags:
- vms_freebsd_12
variables:
VMS_NAME: 'freebsd_12'
VMS_USER: 'vagrant'
VMS_PORT: '2232'
MAKE: 'gmake'
script:
- ${GITLAB_MAKE} vms_test_freebsd
# Packs
centos_6:
variables:
OS: 'el'
DIST: '6'
centos_7:
variables:
OS: 'el'
DIST: '7'
centos_8:
<<: *deploy_test_definition
variables:
OS: 'el'
DIST: '8'
variables:
OS: 'fedora'
DIST: '28'
fedora_29:
variables:
OS: 'fedora'
DIST: '29'
fedora_30:
variables:
OS: 'fedora'
DIST: '30'
ubuntu_14_04:
variables:
OS: 'ubuntu'
DIST: 'trusty'
ubuntu_16_04:
variables:
OS: 'ubuntu'
DIST: 'xenial'
ubuntu_18_04:
variables:
OS: 'ubuntu'
DIST: 'bionic'
ubuntu_18_10:
variables:
OS: 'ubuntu'
DIST: 'cosmic'
ubuntu_19_04:
variables:
OS: 'ubuntu'
DIST: 'disco'
ubuntu_19_10:
<<: *deploy_definition
variables:
OS: 'ubuntu'
DIST: 'eoan'
variables:
OS: 'debian'
DIST: 'jessie'
debian_9:
variables:
OS: 'debian'
DIST: 'stretch'
debian_10:
variables:
OS: 'debian'
DIST: 'buster'
variables:
RUN_TESTS: 'ON'
script:
- ${GITLAB_MAKE} static_build