[gimp] gitlab-ci: native (MSYS2) Win32 32/64 builds only on schedules.
- From: Jehan <jehanp src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] gitlab-ci: native (MSYS2) Win32 32/64 builds only on schedules.
- Date: Thu, 13 May 2021 15:52:20 +0000 (UTC)
commit 004749158d795c445452fa98b8ba1f6ecca375d4
Author: Jehan <jehan girinstud io>
Date: Thu May 13 17:47:03 2021 +0200
gitlab-ci: native (MSYS2) Win32 32/64 builds only on schedules.
Having them at each commit is counter-productive, first because these
builds take so long and second because there seems to be quite few
Windows runners. So we end up constantly waiting for CI jobs from
previous commits (so we are just constantly waiting).
This is resource over-usage. So instead, I'll just set this in scheduled
jobs. For release preparation though, we'll have to set up a workflow
later to trigger these jobs off-schedule/on-demand (I can see there is a
Gitlab interface to do this), but this can wait for when the installer
is fully generated by the CI anyway.
.gitlab-ci.yml | 22 ++++++++++++++++------
1 file changed, 16 insertions(+), 6 deletions(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 78b194db07..1c68ad1208 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,3 +1,13 @@
+# Default commit CI ($CI_COMMIT_TAG == null && $CI_PIPELINE_SOURCE != "schedule"):
+# - Linux autotools and meson (base & fast)
+# - Win64 crossbuilds (base & fast)
+# Scheduled CI ($CI_PIPELINE_SOURCE == "schedule"):
+# - Win 32/64 native builds (base but slow)
+# - Win32 crossbuilds (rare usefulness)
+# - Linux CLang (rare usefulness)
+# Release ($CI_COMMIT_TAG != null):
+# - Linux autotools (distcheck source tarball)
+
image: debian:testing
stages:
@@ -198,7 +208,7 @@ gimp-clang-debian:
deps-win64-native:
rules:
- - if: '$CI_COMMIT_TAG == null && $CI_PIPELINE_SOURCE != "schedule"'
+ - if: '$CI_COMMIT_TAG == null && $CI_PIPELINE_SOURCE == "schedule" && $SCHEDULE_NATIVE_WIN64 != null'
stage: dependencies
variables:
MSYSTEM: "MINGW64"
@@ -221,7 +231,7 @@ deps-win64-native:
gimp-win64-native:
rules:
- - if: '$CI_COMMIT_TAG == null && $CI_PIPELINE_SOURCE != "schedule"'
+ - if: '$CI_COMMIT_TAG == null && $CI_PIPELINE_SOURCE == "schedule" && $SCHEDULE_NATIVE_WIN64 != null'
stage: gimp
variables:
MSYSTEM: "MINGW64"
@@ -247,7 +257,7 @@ gimp-win64-native:
deps-win32-native:
rules:
- - if: '$CI_COMMIT_TAG == null && $CI_PIPELINE_SOURCE != "schedule"'
+ - if: '$CI_COMMIT_TAG == null && $CI_PIPELINE_SOURCE == "schedule" && $SCHEDULE_NATIVE_WIN32 != null'
stage: dependencies
variables:
MSYSTEM: "MINGW32"
@@ -270,7 +280,7 @@ deps-win32-native:
gimp-win32-native:
rules:
- - if: '$CI_COMMIT_TAG == null && $CI_PIPELINE_SOURCE != "schedule"'
+ - if: '$CI_COMMIT_TAG == null && $CI_PIPELINE_SOURCE == "schedule" && $SCHEDULE_NATIVE_WIN32 != null'
stage: gimp
variables:
MSYSTEM: "MINGW32"
@@ -445,7 +455,7 @@ cppcheck:
win64-native-nightly:
rules:
- - if: '$CI_COMMIT_TAG == null && $CI_PIPELINE_SOURCE != "schedule"'
+ - if: '$CI_COMMIT_TAG == null && $CI_PIPELINE_SOURCE == "schedule" && $SCHEDULE_NATIVE_WIN64 != null'
variables:
MSYSTEM: "MINGW64"
CHERE_INVOKING: "yes"
@@ -467,7 +477,7 @@ win64-native-nightly:
win32-native-nightly:
rules:
- - if: '$CI_COMMIT_TAG == null && $CI_PIPELINE_SOURCE != "schedule"'
+ - if: '$CI_COMMIT_TAG == null && $CI_PIPELINE_SOURCE == "schedule" && $SCHEDULE_NATIVE_WIN32 != null'
variables:
MSYSTEM: "MINGW32"
CHERE_INVOKING: "yes"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]