[gimp] gitlab-ci: do not wait for all jobs from "dependencies" stage.
- From: Jehan <jehanp src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] gitlab-ci: do not wait for all jobs from "dependencies" stage.
- Date: Sun, 24 Nov 2019 20:24:53 +0000 (UTC)
commit a76012991bdcdeb23d83fff6746fcb9db90cde08
Author: Jehan <jehan girinstud io>
Date: Sun Nov 24 20:24:59 2019 +0100
gitlab-ci: do not wait for all jobs from "dependencies" stage.
The GNU/Linux builds should start as soon as the Linux dependencies are
built. There is no need to wait for the Windows dependencies (and
reciprocally of course).
This should make for much faster CI total duration (with current
configuration).
Note: this "needs" keyword is quite a recent feature since gitlab 12.2,
3 months ago: https://docs.gitlab.com/ee/ci/yaml/#needs
.gitlab-ci.yml | 3 +++
1 file changed, 3 insertions(+)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 8c12038ac5..a6fa76df2b 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -125,6 +125,7 @@ gimp-autotools:
--with-lua=force
- make -j "$(nproc)"
# - make check
+ needs: ["deps-git"]
gimp-meson:
extends: .gimp-base
@@ -136,6 +137,7 @@ gimp-meson:
-Dlua=always
- ninja -C _build
# - ninja test
+ needs: ["deps-git"]
deps-x86_64-w64-mingw32:
image: fedora:31
@@ -242,6 +244,7 @@ gimp-x86_64-w64-mingw32-meson:
cp -fr $CROSSROAD_PREFIX/ ../gimp-prefix/
' |
crossroad w64 gimp --run="-"
+ needs: ["deps-x86_64-w64-mingw32"]
artifacts:
name: "${CI_JOB_NAME}-${CI_COMMIT_REF_NAME}"
when: always
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]