From 1a31589a2e709379bff1e49f76887af2baf7484c Mon Sep 17 00:00:00 2001 From: Alexandre Duret-Lutz Date: Thu, 22 Feb 2018 11:31:02 +0100 Subject: [PATCH] More config for GitLab-CI * .gitlab-ci.yml: Add a build with gcc-snapshot, and disable Debian packages on all branches except master/next/stable and branches ending in "-deb". --- .gitlab-ci.yml | 30 ++++++++++++++++++++++++++++-- 1 file changed, 28 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 7199d03f2..5002da915 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -48,6 +48,28 @@ debian-unstable-gcc-coverage: - ./*.tar.gz - spot2.info +debian-gcc-snapshot: + stage: build + only: + - branches + except: + - /wip/ + image: gadl/spot-debuild + script: + - export PATH="/usr/lib/gcc-snapshot/bin:$PATH" LD_LIBRARY_PATH="/usr/lib/gcc-snapshot/lib:$LD_LIBRARY_PATH" + - autoreconf -vfi + - ./configure CXX='g++' + - make + - make distcheck + artifacts: + when: always + paths: + - tests/*/*.log + - ./*.log + - doc/spot.html/ + - doc/userdoc/ + - ./*.tar.gz + arch-clang: stage: build only: @@ -129,7 +151,10 @@ mingw-static: debpkg-stable: stage: build only: - - branches + - /-deb$/ + - master + - next + - stable script: - docker pull gadl/spot-debuild:stable - docker pull gadl/spot-debuild-i386:stable @@ -152,7 +177,8 @@ debpkg-stable: debpkg-unstable: stage: build only: - - branches + - /-deb$/ + - next script: - docker pull gadl/spot-debuild - docker pull gadl/spot-debuild-i386