Commit 210a1099 authored by Ondřej Surý's avatar Ondřej Surý

Split the build into 4 individual jobs for better debugging

parent 40141f11
......@@ -7,7 +7,7 @@ variables:
stages:
- image
debian_ubuntu_images:
.image: &image
image: docker:latest
stage: image
services:
......@@ -22,4 +22,28 @@ debian_ubuntu_images:
- apk upgrade
- apk add make
script:
- CI_REGISTRY_IMAGE="$CI_REGISTRY_IMAGE" make -j $(grep 'core id' /proc/cpuinfo | wc -l)
- DISTROS="$DISTROS" ARCHS="$ARCHS" CI_REGISTRY_IMAGE="$CI_REGISTRY_IMAGE" make # -j $(grep 'core id' /proc/cpuinfo | wc -l)
debian_amd64_images:
variables:
DISTROS: debian
ARCHS: amd64
<<: *image
debian_i386_images:
variables:
DISTROS: debian
ARCHS: i386
<<: *image
ubuntu_amd64_images:
variables:
DISTROS: ubuntu
ARCHS: amd64
<<: *image
ubuntu_i386_images:
variables:
DISTROS: ubuntu
ARCHS: i386
<<: *image
DISTROS := debian ubuntu
ARCHS := amd64 i386
DISTROS ?= debian ubuntu
ARCHS ?= amd64 i386
debian_VERSIONS := jessie stretch buster sid
ubuntu_VERSIONS := trusty xenial artful bionic
debian_VERSIONS ?= jessie stretch buster sid
ubuntu_VERSIONS ?= trusty xenial artful bionic
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