From f255947aa8af363d6197476c6276eef28a682b1d Mon Sep 17 00:00:00 2001 From: Steve Kemp Date: Thu, 16 Mar 2017 09:09:16 +0200 Subject: Build for more distributions. This is a repeat of the previous merge-request, which was started from the wrong branch. We build for more releases of Debian/Ubuntu than just Jessie. --- .gitlab-ci.yml | 44 +++++++++++++++++++++++++++++++++++++++----- 1 file changed, 39 insertions(+), 5 deletions(-) (limited to '.gitlab-ci.yml') diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index b152e89..8e1dee9 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -10,10 +10,8 @@ test: &test - apt-get install attr ruby-ffi - make test -package: &package +.package: &package image: $CI_REGISTRY/docker-images/layers:$DISTRO-deb - variables: - DISTRO: jessie stage: package script: - package @@ -21,6 +19,37 @@ package: &package paths: - pkg/ +package:wheezy: + <<: *package + variables: + DISTRO: wheezy + +package:jessie: + <<: *package + variables: + DISTRO: jessie + +package:stretch: + <<: *package + variables: + DISTRO: stretch + +package:precise: + <<: *package + variables: + DISTRO: precise + +package:trusty: + <<: *package + variables: + DISTRO: trusty + +package:xenial: + <<: *package + variables: + DISTRO: xenial + + publish: stage: publish variables: @@ -29,5 +58,10 @@ publish: - shell script: - publish - - + dependencies: + - package:wheezy + - package:jessie + - package:stretch + - package:precise + - package:trusty + - package:xenial -- cgit v1.2.1