summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2018-07-01 02:01:13 +0200
committerHaru <haru@dotalux.com>2018-07-01 02:01:13 +0200
commit840203376bfd0bbaca8b50cf700af4f9c8924532 (patch)
tree3f1e950663ddd14ee5624ef35db7455547a8706b /.gitlab-ci.yml
parent6f468d168e08f8783d1ddff96b18d9ad75572049 (diff)
downloadhercules-840203376bfd0bbaca8b50cf700af4f9c8924532.tar.gz
hercules-840203376bfd0bbaca8b50cf700af4f9c8924532.tar.bz2
hercules-840203376bfd0bbaca8b50cf700af4f9c8924532.tar.xz
hercules-840203376bfd0bbaca8b50cf700af4f9c8924532.zip
Add buids with a recent PACKETVER of the Zero client
This allows most recent code that would otherwise be ifdeffed out, to be tested by the CI Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml241
1 files changed, 241 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 85b1f9c0f..e98922276 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -2,6 +2,7 @@ stages:
- primary
- secondary
- platforms
+ - clients
- extras
variables: &base_vars
@@ -61,6 +62,21 @@ re:clang-3.9:
- ./tools/ci/travis.sh build CC=clang-3.9 --enable-debug --enable-Werror --enable-buildbot
- ./tools/ci/travis.sh test ragnarok ragnarok ragnarok $SQLHOST
+zero-2018:clang-3.9:
+ <<: *branch_exceptions
+ <<: *prerequisites
+ stage: clients
+ image: debian:stretch
+ services:
+ - mariadb:10.1
+ variables:
+ <<: *base_vars
+ INSTALL_PACKAGES: clang-3.9 mariadb-client libmariadbclient-dev-compat
+ SQLHOST: mariadb
+ script:
+ - ./tools/ci/travis.sh build CC=clang-3.9 --enable-debug --enable-Werror --enable-buildbot --enable-packetver-zero --enable-packetver=20180511
+ - ./tools/ci/travis.sh test ragnarok ragnarok ragnarok $SQLHOST
+
pre_re:clang-4.0:
<<: *branch_exceptions
<<: *prerequisites
@@ -91,6 +107,21 @@ re:clang-4.0:
- ./tools/ci/travis.sh build CC=clang-4.0 --enable-debug --enable-Werror --enable-buildbot
- ./tools/ci/travis.sh test ragnarok ragnarok ragnarok $SQLHOST
+zero-2018:clang-4.0:
+ <<: *branch_exceptions
+ <<: *prerequisites
+ stage: clients
+ image: debian:unstable
+ services:
+ - mariadb:10
+ variables:
+ <<: *base_vars
+ INSTALL_PACKAGES: clang-4.0 mariadb-client libmariadbclient-dev-compat
+ SQLHOST: mariadb
+ script:
+ - ./tools/ci/travis.sh build CC=clang-4.0 --enable-debug --enable-Werror --enable-buildbot --enable-packetver-zero --enable-packetver=20180511
+ - ./tools/ci/travis.sh test ragnarok ragnarok ragnarok $SQLHOST
+
pre_re:clang-5.0:
<<: *branch_exceptions
<<: *prerequisites
@@ -121,6 +152,21 @@ re:clang-5.0:
- ./tools/ci/travis.sh build CC=clang-5.0 --enable-debug --enable-Werror --enable-buildbot
- ./tools/ci/travis.sh test ragnarok ragnarok ragnarok $SQLHOST
+zero-2018:clang-5.0:
+ <<: *branch_exceptions
+ <<: *prerequisites
+ stage: clients
+ image: debian:unstable
+ services:
+ - mariadb:10
+ variables:
+ <<: *base_vars
+ INSTALL_PACKAGES: clang-5.0 mariadb-client libmariadbclient-dev-compat
+ SQLHOST: mariadb
+ script:
+ - ./tools/ci/travis.sh build CC=clang-5.0 --enable-debug --enable-Werror --enable-buildbot --enable-packetver-zero --enable-packetver=20180511
+ - ./tools/ci/travis.sh test ragnarok ragnarok ragnarok $SQLHOST
+
pre_re:clang-6.0:
<<: *branch_exceptions
<<: *prerequisites
@@ -151,6 +197,21 @@ re:clang-6.0:
- ./tools/ci/travis.sh build CC=clang-6.0 --enable-debug --enable-Werror --enable-buildbot
- ./tools/ci/travis.sh test ragnarok ragnarok ragnarok $SQLHOST
+zero-2018:clang-6.0:
+ <<: *branch_exceptions
+ <<: *prerequisites
+ stage: clients
+ image: debian:unstable
+ services:
+ - mariadb:10
+ variables:
+ <<: *base_vars
+ INSTALL_PACKAGES: clang-6.0 mariadb-client libmariadbclient-dev-compat
+ SQLHOST: mariadb
+ script:
+ - ./tools/ci/travis.sh build CC=clang-6.0 --enable-debug --enable-Werror --enable-buildbot --enable-packetver-zero --enable-packetver=20180511
+ - ./tools/ci/travis.sh test ragnarok ragnarok ragnarok $SQLHOST
+
pre_re:clang-7:
<<: *branch_exceptions
<<: *prerequisites
@@ -181,6 +242,21 @@ re:clang-7:
- ./tools/ci/travis.sh build CC=clang-7 --enable-debug --enable-Werror --enable-buildbot
- ./tools/ci/travis.sh test ragnarok ragnarok ragnarok $SQLHOST
+zero-2018:clang-7:
+ <<: *branch_exceptions
+ <<: *prerequisites
+ stage: clients
+ image: debian:unstable
+ services:
+ - mariadb:10
+ variables:
+ <<: *base_vars
+ INSTALL_PACKAGES: clang-7 mariadb-client libmariadbclient-dev-compat
+ SQLHOST: mariadb
+ script:
+ - ./tools/ci/travis.sh build CC=clang-7 --enable-debug --enable-Werror --enable-buildbot --enable-packetver-zero --enable-packetver=20180511
+ - ./tools/ci/travis.sh test ragnarok ragnarok ragnarok $SQLHOST
+
pre_re:gcc-4.6:
<<: *branch_exceptions
<<: *prerequisites
@@ -211,6 +287,21 @@ re:gcc-4.6:
- ./tools/ci/travis.sh build CC=gcc-4.6 --enable-debug --enable-Werror --enable-buildbot
- ./tools/ci/travis.sh test ragnarok ragnarok ragnarok $SQLHOST
+zero-2018:gcc-4.6:
+ <<: *branch_exceptions
+ <<: *prerequisites
+ stage: clients
+ image: debian:wheezy
+ services:
+ - mysql:5.5
+ variables:
+ <<: *base_vars
+ INSTALL_PACKAGES: gcc-4.6 mysql-client libmysqlclient-dev
+ SQLHOST: mysql
+ script:
+ - ./tools/ci/travis.sh build CC=gcc-4.6 --enable-debug --enable-Werror --enable-buildbot --enable-packetver-zero --enable-packetver=20180511
+ - ./tools/ci/travis.sh test ragnarok ragnarok ragnarok $SQLHOST
+
pre_re:gcc-4.7:
<<: *branch_exceptions
<<: *prerequisites
@@ -241,6 +332,21 @@ re:gcc-4.7:
- ./tools/ci/travis.sh build CC=gcc-4.7 --enable-debug --enable-Werror --enable-buildbot
- ./tools/ci/travis.sh test ragnarok ragnarok ragnarok $SQLHOST
+zero-2018:gcc-4.7:
+ <<: *branch_exceptions
+ <<: *prerequisites
+ stage: clients
+ image: debian:wheezy
+ services:
+ - mysql:5.5
+ variables:
+ <<: *base_vars
+ INSTALL_PACKAGES: gcc-4.7 mysql-client libmysqlclient-dev
+ SQLHOST: mysql
+ script:
+ - ./tools/ci/travis.sh build CC=gcc-4.7 --enable-debug --enable-Werror --enable-buildbot --enable-packetver-zero --enable-packetver=20180511
+ - ./tools/ci/travis.sh test ragnarok ragnarok ragnarok $SQLHOST
+
pre_re:gcc-4.8:
<<: *branch_exceptions
<<: *prerequisites
@@ -271,6 +377,21 @@ re:gcc-4.8:
- ./tools/ci/travis.sh build CC=gcc-4.8 --enable-debug --enable-Werror --enable-buildbot
- ./tools/ci/travis.sh test ragnarok ragnarok ragnarok $SQLHOST
+zero-2018:gcc-4.8:
+ <<: *branch_exceptions
+ <<: *prerequisites
+ stage: clients
+ image: debian:jessie
+ services:
+ - mysql:5.5
+ variables:
+ <<: *base_vars
+ INSTALL_PACKAGES: gcc-4.8 mysql-client libmysqlclient-dev
+ SQLHOST: mysql
+ script:
+ - ./tools/ci/travis.sh build CC=gcc-4.8 --enable-debug --enable-Werror --enable-buildbot --enable-packetver-zero --enable-packetver=20180511
+ - ./tools/ci/travis.sh test ragnarok ragnarok ragnarok $SQLHOST
+
pre_re:gcc-4.9:
<<: *branch_exceptions
<<: *prerequisites
@@ -301,6 +422,21 @@ re:gcc-4.9:
- ./tools/ci/travis.sh build CC=gcc-4.9 --enable-debug --enable-Werror --enable-buildbot
- ./tools/ci/travis.sh test ragnarok ragnarok ragnarok $SQLHOST
+zero-2018:gcc-4.9:
+ <<: *branch_exceptions
+ <<: *prerequisites
+ stage: clients
+ image: debian:jessie
+ services:
+ - mysql:5.5
+ variables:
+ <<: *base_vars
+ INSTALL_PACKAGES: gcc-4.9 mysql-client libmysqlclient-dev
+ SQLHOST: mysql
+ script:
+ - ./tools/ci/travis.sh build CC=gcc-4.9 --enable-debug --enable-Werror --enable-buildbot --enable-packetver-zero --enable-packetver=20180511
+ - ./tools/ci/travis.sh test ragnarok ragnarok ragnarok $SQLHOST
+
pre_re:gcc-5:
<<: *branch_exceptions
<<: *prerequisites
@@ -331,6 +467,21 @@ re:gcc-5:
- ./tools/ci/travis.sh build CC=gcc-5 --enable-debug --enable-Werror --enable-buildbot
- ./tools/ci/travis.sh test ragnarok ragnarok ragnarok $SQLHOST
+zero-2018:gcc-5:
+ <<: *branch_exceptions
+ <<: *prerequisites
+ stage: clients
+ image: debian:unstable
+ services:
+ - mariadb:10
+ variables:
+ <<: *base_vars
+ INSTALL_PACKAGES: gcc-5 mariadb-client libmariadbclient-dev-compat
+ SQLHOST: mariadb
+ script:
+ - ./tools/ci/travis.sh build CC=gcc-5 --enable-debug --enable-Werror --enable-buildbot --enable-packetver-zero --enable-packetver=20180511
+ - ./tools/ci/travis.sh test ragnarok ragnarok ragnarok $SQLHOST
+
pre_re:gcc-6:
<<: *branch_exceptions
<<: *prerequisites
@@ -361,6 +512,21 @@ re:gcc-6:
- ./tools/ci/travis.sh build CC=gcc-6 --enable-debug --enable-Werror --enable-buildbot
- ./tools/ci/travis.sh test ragnarok ragnarok ragnarok $SQLHOST
+zero-2018:gcc-6:
+ <<: *branch_exceptions
+ <<: *prerequisites
+ stage: clients
+ image: debian:stretch
+ services:
+ - mariadb:10.1
+ variables:
+ <<: *base_vars
+ INSTALL_PACKAGES: gcc-6 mariadb-client libmariadbclient-dev-compat
+ SQLHOST: mariadb
+ script:
+ - ./tools/ci/travis.sh build CC=gcc-6 --enable-debug --enable-Werror --enable-buildbot --enable-packetver-zero --enable-packetver=20180511
+ - ./tools/ci/travis.sh test ragnarok ragnarok ragnarok $SQLHOST
+
pre_re:gcc-7:
<<: *branch_exceptions
<<: *prerequisites
@@ -391,6 +557,21 @@ re:gcc-7:
- ./tools/ci/travis.sh build CC=gcc-7 --enable-debug --enable-Werror --enable-buildbot
- ./tools/ci/travis.sh test ragnarok ragnarok ragnarok $SQLHOST
+zero-2018:gcc-7:
+ <<: *branch_exceptions
+ <<: *prerequisites
+ stage: clients
+ image: debian:unstable
+ services:
+ - mariadb:10
+ variables:
+ <<: *base_vars
+ INSTALL_PACKAGES: gcc-7 mariadb-client libmariadbclient-dev-compat
+ SQLHOST: mariadb
+ script:
+ - ./tools/ci/travis.sh build CC=gcc-7 --enable-debug --enable-Werror --enable-buildbot --enable-packetver-zero --enable-packetver=20180511
+ - ./tools/ci/travis.sh test ragnarok ragnarok ragnarok $SQLHOST
+
pre_re:gcc-8:
<<: *branch_exceptions
<<: *prerequisites
@@ -421,6 +602,21 @@ re:gcc-8:
- ./tools/ci/travis.sh build CC=gcc-8 --enable-debug --enable-Werror --enable-buildbot
- ./tools/ci/travis.sh test ragnarok ragnarok ragnarok $SQLHOST
+zero-2018:gcc-8:
+ <<: *branch_exceptions
+ <<: *prerequisites
+ stage: clients
+ image: debian:unstable
+ services:
+ - mariadb:10
+ variables:
+ <<: *base_vars
+ INSTALL_PACKAGES: gcc-8 mariadb-client libmariadbclient-dev-compat
+ SQLHOST: mariadb
+ script:
+ - ./tools/ci/travis.sh build CC=gcc-8 --enable-debug --enable-Werror --enable-buildbot --enable-packetver-zero --enable-packetver=20180511
+ - ./tools/ci/travis.sh test ragnarok ragnarok ragnarok $SQLHOST
+
pre_re:gcc-6_i386:
<<: *branch_exceptions
<<: *prerequisites
@@ -451,6 +647,21 @@ re:gcc-6_i386:
- ./tools/ci/travis.sh build CC=gcc-6 --enable-debug --enable-Werror --enable-buildbot
- ./tools/ci/travis.sh test ragnarok ragnarok ragnarok $SQLHOST
+zero-2018:gcc-6_i386:
+ <<: *branch_exceptions
+ <<: *prerequisites
+ stage: clients
+ image: i386/debian:stable
+ services:
+ - mariadb:10.1
+ variables:
+ <<: *base_vars
+ INSTALL_PACKAGES: gcc-6 mariadb-client libmariadbclient-dev-compat
+ SQLHOST: mariadb
+ script:
+ - ./tools/ci/travis.sh build CC=gcc-6 --enable-debug --enable-Werror --enable-buildbot --enable-packetver-zero --enable-packetver=20180511
+ - ./tools/ci/travis.sh test ragnarok ragnarok ragnarok $SQLHOST
+
pre_re:gcc-6_sanitize:
<<: *branch_exceptions
<<: *prerequisites
@@ -481,6 +692,21 @@ re:gcc-6_sanitize:
- ./tools/ci/travis.sh build CC=gcc-6 --enable-debug --enable-Werror --enable-buildbot --disable-manager --enable-sanitize=full
- ./tools/ci/travis.sh test ragnarok ragnarok ragnarok $SQLHOST
+zero-2018:gcc-6_sanitize:
+ <<: *branch_exceptions
+ <<: *prerequisites
+ stage: clients
+ image: debian:stretch
+ services:
+ - mariadb:10.1
+ variables:
+ <<: *base_vars
+ INSTALL_PACKAGES: gcc-6 mariadb-client libmariadbclient-dev-compat
+ SQLHOST: mariadb
+ script:
+ - ./tools/ci/travis.sh build CC=gcc-6 --enable-debug --enable-Werror --enable-buildbot --disable-manager --enable-sanitize=full --enable-packetver-zero --enable-packetver=20180511
+ - ./tools/ci/travis.sh test ragnarok ragnarok ragnarok $SQLHOST
+
pre_re:gcc-6_i386_sanitize:
<<: *branch_exceptions
<<: *prerequisites
@@ -511,6 +737,21 @@ re:gcc-6_i386_sanitize:
- ./tools/ci/travis.sh build CC=gcc-6 --enable-debug --enable-Werror --enable-buildbot --disable-manager --enable-sanitize=full
- ./tools/ci/travis.sh test ragnarok ragnarok ragnarok $SQLHOST
+zero-2018:gcc-6_i386_sanitize:
+ <<: *branch_exceptions
+ <<: *prerequisites
+ stage: clients
+ image: i386/debian:stable
+ services:
+ - mariadb:10.1
+ variables:
+ <<: *base_vars
+ INSTALL_PACKAGES: gcc-6 mariadb-client libmariadbclient-dev-compat
+ SQLHOST: mariadb
+ script:
+ - ./tools/ci/travis.sh build CC=gcc-6 --enable-debug --enable-Werror --enable-buildbot --disable-manager --enable-sanitize=full --enable-packetver-zero --enable-packetver=20180511
+ - ./tools/ci/travis.sh test ragnarok ragnarok ragnarok $SQLHOST
+
pre_re:gcc-6_cov:
<<: *branch_exceptions
<<: *prerequisites