gitlab-ci: Use new needs: keyword

This way, the test jobs can start running before all build+test jobs
have finished, once the meson-main job has.

Idea suggested by Daniel Stone on IRC.

See https://docs.gitlab.com/ce/ci/directed_acyclic_graph/ and
https://docs.gitlab.com/ce/ci/yaml/README.html#needs for details.

v2:
* Improve commit log (Daniel Stone, Eric Engestrom)

Reviewed-by: Eric Engestrom <eric.engestrom@intel.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
This commit is contained in:
Michel Dänzer 2019-08-27 11:57:13 +02:00
parent 42f8d5a531
commit 8de25ecd6b

View File

@ -353,6 +353,7 @@ test-llvmpipe-gles2:
extends: .deqp-test
dependencies:
- meson-main
needs: [meson-main]
test-softpipe-gles2:
parallel: 4
@ -365,6 +366,7 @@ test-softpipe-gles2:
extends: .deqp-test
dependencies:
- meson-main
needs: [meson-main]
# The GLES2 CTS run takes about 8 minutes of CPU time, while GLES3 is
# 25 minutes. Until we can get its runtime down, just do a partial
@ -381,3 +383,4 @@ test-softpipe-gles3-limited:
extends: .deqp-test
dependencies:
- meson-main
needs: [meson-main]