[librsvg: 1/2] ci: do "cross distro" and "release" jobs with LIBRSVG_DEBUG="no"
- From: Sven Neumann <sneumann src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [librsvg: 1/2] ci: do "cross distro" and "release" jobs with LIBRSVG_DEBUG="no"
- Date: Thu, 29 Oct 2020 19:11:57 +0000 (UTC)
commit 08407bf7377aa4521f4cf9a94325d6f749f6a561
Author: Sven Neumann <sven svenfoo org>
Date: Thu Oct 29 14:33:18 2020 +0100
ci: do "cross distro" and "release" jobs with LIBRSVG_DEBUG="no"
We want to have both debug and release builds on the CI, so let's have
"acceptance tests" run on a debug build and the "cross distro" jobs on
a release build.
.gitlab-ci.yml | 15 ++++++++++-----
1 file changed, 10 insertions(+), 5 deletions(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 03c0b888..9f310fcc 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -97,7 +97,6 @@ cargo_test:
- sudo -E cargo test --package librsvg --package librsvg_c_api --package rsvg_internals
.make:
- stage: cross distro
extends:
- .common
needs:
@@ -130,15 +129,21 @@ opensuse:tumbleweed:
- if: '$CI_PIPELINE_SOURCE == "push"'
- if: '$CI_PIPELINE_SOURCE == "schedule"'
+.distro:
+ stage: cross distro
+ extends: .make
+ variables:
+ LIBRSVG_DEBUG: "no"
+
fedora:latest:
image: $AMD64_FEDORA_LATEST
- extends: .make
+ extends: .distro
debian:testing:
image: $AMD64_DEBIAN_TESTING
- extends: .make
+ extends: .distro
script:
- # TODO: delete after sudo is no longer needed
+ # TODO: delete after sudo is no longer needed on the other builds
- mkdir -p _build
- cd _build
- ../autogen.sh --enable-gtk-doc --enable-vala
@@ -146,8 +151,8 @@ debian:testing:
- make check
distcheck:
- extends: .make
stage: release
+ extends: .distro
variables:
DESTDIR: "/tmp/distcheck"
script:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]