[librsvg: 3/4] CI: use a workflow, copied from at-spi2-core
- From: Marge Bot <marge-bot src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [librsvg: 3/4] CI: use a workflow, copied from at-spi2-core
- Date: Fri, 10 Jun 2022 22:35:23 +0000 (UTC)
commit d3b5078ecc9f12cb43e237c5deadffc81be06a6f
Author: Federico Mena Quintero <federico gnome org>
Date: Fri Jun 10 16:41:59 2022 -0500
CI: use a workflow, copied from at-spi2-core
Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/707>
.gitlab-ci.yml | 11 +++++++++++
1 file changed, 11 insertions(+)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index e9af15b3c..75bb40a3a 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -3,6 +3,16 @@
include:
- local: 'ci/container_builds.yml'
+# Enable merge request pipelines and avoid duplicate pipelines
+# https://docs.gitlab.com/ee/ci/yaml/index.html#switch-between-branch-pipelines-and-merge-request-pipelines
+workflow:
+ rules:
+ - if: '$CI_PIPELINE_SOURCE == "merge_request_event"'
+ - if: $CI_COMMIT_BRANCH && $CI_OPEN_MERGE_REQUESTS && $CI_PIPELINE_SOURCE == "push"
+ when: never
+ - if: '$CI_COMMIT_TAG'
+ - if: '$CI_COMMIT_BRANCH'
+
variables:
LIBRSVG_DEBUG: "yes"
# Turn compiler warnings into errors
@@ -344,6 +354,7 @@ distcheck:
- '.cache'
needs:
- job: check
+ artifacts: false
tags:
# FIXME: remove this once the runners get CentOS upgraded
# see https://gitlab.gnome.org/GNOME/librsvg/-/issues/848
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]