[gtk/ebassi/ci-only] ci: Specify `only` for other jobs
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/ebassi/ci-only] ci: Specify `only` for other jobs
- Date: Thu, 7 Jan 2021 16:09:29 +0000 (UTC)
commit 379d56c6efd33493e62ec2ab97e6c8f68609508f
Author: Emmanuele Bassi <ebassi gnome org>
Date: Thu Jan 7 16:03:10 2021 +0000
ci: Specify `only` for other jobs
Otherwise MRs will only run macOS jobs.
.gitlab-ci.yml | 10 +++++++---
1 file changed, 7 insertions(+), 3 deletions(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 5b5ee631a3..3f4c027cdc 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -43,7 +43,12 @@ style-check-diff:
- .gitlab-ci/run-style-check-diff.sh
.build-fedora-default:
+ extends: .only-default
image: $FEDORA_IMAGE
+ only:
+ - master
+ - merge_requests
+ - branches
artifacts:
when: always
reports:
@@ -121,6 +126,7 @@ installed-tests:
.mingw-defaults:
+ extends: .only-default
stage: build
tags:
- win32-ps
@@ -145,12 +151,10 @@ msys2-mingw64:
CHERE_INVOKING: "yes"
macos:
+ extends: .only-default
stage: build
tags:
- macos
- only:
- - master
- - merge_requests
needs: []
before_script:
- bash .gitlab-ci/show-execution-environment.sh
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]