mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-10-01 20:05:46 +00:00
396480d067
We don't need the full git history when running CI jobs. From a code POV we only need the most recent commit, but we want to be able to run checks on the commits too. In particular to validate the DCO signoff for each commit. Reviewed-by: Andrea Bolognani <abologna@redhat.com> Reviewed-by: Erik Skultety <eskultet@redhat.com> Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
51 lines
1.4 KiB
YAML
51 lines
1.4 KiB
YAML
variables:
|
|
MAKE: make
|
|
GIT_DEPTH: 100
|
|
|
|
.job_template: &job_definition
|
|
script:
|
|
- mkdir build
|
|
- cd build
|
|
- ../autogen.sh $CONFIGURE_OPTS || (cat config.log && exit 1)
|
|
- $MAKE -j $(getconf _NPROCESSORS_ONLN)
|
|
|
|
# We could run every arch on every versions, but it is a little
|
|
# overkill. Instead we split jobs evenly across 9, 10 and sid
|
|
# to achieve reasonable cross-coverage.
|
|
|
|
debian-9-cross-armv6l:
|
|
<<: *job_definition
|
|
image: quay.io/libvirt/buildenv-libvirt-debian-9-cross-armv6l:latest
|
|
|
|
debian-9-cross-mips64el:
|
|
<<: *job_definition
|
|
image: quay.io/libvirt/buildenv-libvirt-debian-9-cross-mips64el:latest
|
|
|
|
debian-9-cross-mips:
|
|
<<: *job_definition
|
|
image: quay.io/libvirt/buildenv-libvirt-debian-9-cross-mips:latest
|
|
|
|
debian-10-cross-aarch64:
|
|
<<: *job_definition
|
|
image: quay.io/libvirt/buildenv-libvirt-debian-10-cross-aarch64:latest
|
|
|
|
debian-10-cross-ppc64le:
|
|
<<: *job_definition
|
|
image: quay.io/libvirt/buildenv-libvirt-debian-10-cross-ppc64le:latest
|
|
|
|
debian-10-cross-s390x:
|
|
<<: *job_definition
|
|
image: quay.io/libvirt/buildenv-libvirt-debian-10-cross-s390x:latest
|
|
|
|
debian-sid-cross-armv7l:
|
|
<<: *job_definition
|
|
image: quay.io/libvirt/buildenv-libvirt-debian-sid-cross-armv7l:latest
|
|
|
|
debian-sid-cross-i686:
|
|
<<: *job_definition
|
|
image: quay.io/libvirt/buildenv-libvirt-debian-sid-cross-i686:latest
|
|
|
|
debian-sid-cross-mipsel:
|
|
<<: *job_definition
|
|
image: quay.io/libvirt/buildenv-libvirt-debian-sid-cross-mipsel:latest
|