Commit 61a33f40 authored by Ondřej Surý's avatar Ondřej Surý

Even further split to keep the build under < 1 hour

parent fa902b4b
......@@ -22,28 +22,60 @@ stages:
- apk upgrade
- apk add make
script:
- DISTROS="$DISTROS" ARCHS="$ARCHS" CI_REGISTRY_IMAGE="$CI_REGISTRY_IMAGE" make # -j $(grep 'core id' /proc/cpuinfo | wc -l)
- VERSIONS="$VERSIONS" DISTROS="$DISTROS" ARCHS="$ARCHS" CI_REGISTRY_IMAGE="$CI_REGISTRY_IMAGE" make # -j $(grep 'core id' /proc/cpuinfo | wc -l)
debian_amd64_images:
debian_jessie_images:
variables:
DISTROS: debian
ARCHS: amd64
VERSIONS: jessie
ARCHS: amd64 i386
<<: *image
debian_i386_images:
debian_stretch_images:
variables:
DISTROS: debian
ARCHS: i386
VERSIONS: stretch
ARCHS: amd64 i386
<<: *image
ubuntu_amd64_images:
debian_buster_images:
variables:
DISTROS: debian
VERSIONS: buster
ARCHS: amd64 i386
<<: *image
debian_sid_images:
variables:
DISTROS: debian
VERSIONS: sid
ARCHS: amd64 i386
<<: *image
ubuntu_trusty_images:
variables:
DISTROS: ubuntu
VERSIONS: trusty
ARCHS: amd64 i386
<<: *image
ubuntu_xenial_images:
variables:
DISTROS: ubuntu
VERSIONS: xenial
ARCHS: amd64 i386
<<: *image
ubuntu_artful_images:
variables:
DISTROS: ubuntu
ARCHS: amd64
VERSIONS: artful
ARCHS: amd64 i386
<<: *image
ubuntu_i386_images:
ubuntu_bionci_images:
variables:
DISTROS: ubuntu
ARCHS: i386
VERSIONS: bionic
ARCHS: amd64 i386
<<: *image
DISTROS ?= debian ubuntu
ARCHS ?= amd64 i386
debian_VERSIONS ?= jessie stretch buster sid
ubuntu_VERSIONS ?= trusty xenial artful bionic
default_debian_VERSIONS := jessie stretch buster sid
default_ubuntu_VERSIONS := trusty xenial artful bionic
ifneq (,$(VERSIONS))
debian_VERSIONS = $(filter $(VERSIONS),$(default_debian_VERSIONS))
ubuntu_VERSIONS = $(filter $(VERSIONS),$(default_ubuntu_VERSIONS))
else
debian_VERSIONS ?= $(default_debian_VERSIONS)
ubuntu_VERSIONS ?= $(default_ubuntu_VERSIONS)
endif
TARGETS := $(foreach arch,$(ARCHS),$(foreach distro,$(DISTROS),$(foreach version,$($(distro)_VERSIONS),$(distro)-$(version)-$(arch))))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment