summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmmanuele Bassi <ebassi@gnome.org>2021-01-12 12:31:47 +0000
committerEmmanuele Bassi <ebassi@gnome.org>2021-01-12 12:31:47 +0000
commit76cc030b177d4d6de23841ecf7733658ea6094d7 (patch)
tree5013a9ff03d5274f34978bf29236bab7c2d4c421
parentd43a3bec01979540ac3cc80f2585853a95823104 (diff)
downloadgdk-pixbuf-ebassi/ci-only-default.tar.gz
ci: Use `only` clauses everywhereebassi/ci-only-default
Otherwise GitLab will detach jobs from the pipeline. To limit the amount of work done by the macOS job, we run the build only on branches on the project repository.
-rw-r--r--.gitlab-ci.yml6
1 files changed, 4 insertions, 2 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index ec1d34663..7e1c7febd 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -19,6 +19,7 @@ variables:
- tags
.build-linux:
+ extends: .only-default
before_script:
- mkdir -p _ccache
script:
@@ -57,8 +58,9 @@ macos:
stage: build
needs: []
only:
- - master
- - merge_requests
+ - branches@GNOME/gdk-pixbuf
+ except:
+ - tags
tags:
- macos
before_script: