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
This commit is contained in:
Jehan 2019-11-24 20:24:59 +01:00
parent d48dcc1252
commit a76012991b
1 changed files with 3 additions and 0 deletions

View File

@ -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