mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-12 09:15:29 +00:00
gitlab: use the new needs yaml key
Allows implementing a DAG where a dependant job can be built before the entirety of the previous stage has completed.
This commit is contained in:
parent
e5228dc810
commit
a596162ab5
2 changed files with 38 additions and 1 deletions
|
@ -115,6 +115,8 @@ include: "gitlab/ci_template.yml"
|
||||||
.build local:
|
.build local:
|
||||||
extends: '.build'
|
extends: '.build'
|
||||||
when: 'manual'
|
when: 'manual'
|
||||||
|
needs:
|
||||||
|
- 'manifest'
|
||||||
|
|
||||||
# Test the build job against the latest build image tag and the local manifest
|
# Test the build job against the latest build image tag and the local manifest
|
||||||
build fedora x86_64 local:
|
build fedora x86_64 local:
|
||||||
|
@ -161,7 +163,7 @@ build cerbero cross win64 local:
|
||||||
image: '${CI_REGISTRY_IMAGE}/amd64/fedora:latest'
|
image: '${CI_REGISTRY_IMAGE}/amd64/fedora:latest'
|
||||||
extends: '.test'
|
extends: '.test'
|
||||||
dependencies:
|
dependencies:
|
||||||
- build fedora x86_64 local
|
- 'build fedora x86_64 local'
|
||||||
when: 'manual'
|
when: 'manual'
|
||||||
except:
|
except:
|
||||||
refs:
|
refs:
|
||||||
|
|
|
@ -77,6 +77,8 @@ gst indent:
|
||||||
|
|
||||||
.build:
|
.build:
|
||||||
stage: 'build'
|
stage: 'build'
|
||||||
|
needs:
|
||||||
|
- "manifest"
|
||||||
dependencies:
|
dependencies:
|
||||||
- "manifest"
|
- "manifest"
|
||||||
variables:
|
variables:
|
||||||
|
@ -188,6 +190,8 @@ build static nodebug fedora x86_64:
|
||||||
.test fedora x86_64:
|
.test fedora x86_64:
|
||||||
image: $FEDORA_IMAGE
|
image: $FEDORA_IMAGE
|
||||||
extends: '.test'
|
extends: '.test'
|
||||||
|
needs:
|
||||||
|
- 'build fedora x86_64'
|
||||||
dependencies:
|
dependencies:
|
||||||
- build fedora x86_64
|
- build fedora x86_64
|
||||||
|
|
||||||
|
@ -287,6 +291,8 @@ valgrind ges:
|
||||||
.cerbero:
|
.cerbero:
|
||||||
stage: "build"
|
stage: "build"
|
||||||
image: $CERBERO_IMAGE
|
image: $CERBERO_IMAGE
|
||||||
|
needs:
|
||||||
|
- "manifest"
|
||||||
dependencies:
|
dependencies:
|
||||||
- "manifest"
|
- "manifest"
|
||||||
variables:
|
variables:
|
||||||
|
@ -349,6 +355,8 @@ valgrind ges:
|
||||||
.build windows:
|
.build windows:
|
||||||
image: $WINDOWS_IMAGE
|
image: $WINDOWS_IMAGE
|
||||||
stage: 'build'
|
stage: 'build'
|
||||||
|
needs:
|
||||||
|
- 'manifest'
|
||||||
dependencies:
|
dependencies:
|
||||||
- 'manifest'
|
- 'manifest'
|
||||||
tags:
|
tags:
|
||||||
|
@ -472,6 +480,9 @@ cerbero deps fedora x86_64:
|
||||||
|
|
||||||
cerbero fedora x86_64:
|
cerbero fedora x86_64:
|
||||||
extends: '.cerbero fedora x86_64'
|
extends: '.cerbero fedora x86_64'
|
||||||
|
needs:
|
||||||
|
- "cerbero deps fedora x86_64"
|
||||||
|
- "manifest"
|
||||||
dependencies:
|
dependencies:
|
||||||
- "cerbero deps fedora x86_64"
|
- "cerbero deps fedora x86_64"
|
||||||
only:
|
only:
|
||||||
|
@ -506,6 +517,9 @@ cerbero deps android universal:
|
||||||
|
|
||||||
cerbero android universal:
|
cerbero android universal:
|
||||||
extends: '.cerbero android universal'
|
extends: '.cerbero android universal'
|
||||||
|
needs:
|
||||||
|
- "cerbero deps android universal"
|
||||||
|
- "manifest"
|
||||||
dependencies:
|
dependencies:
|
||||||
- "cerbero deps android universal"
|
- "cerbero deps android universal"
|
||||||
only:
|
only:
|
||||||
|
@ -538,6 +552,9 @@ cerbero deps windows x86:
|
||||||
|
|
||||||
cerbero cross win32:
|
cerbero cross win32:
|
||||||
extends: '.cerbero cross win32'
|
extends: '.cerbero cross win32'
|
||||||
|
needs:
|
||||||
|
- "cerbero deps windows x86"
|
||||||
|
- "manifest"
|
||||||
dependencies:
|
dependencies:
|
||||||
- "cerbero deps windows x86"
|
- "cerbero deps windows x86"
|
||||||
only:
|
only:
|
||||||
|
@ -567,6 +584,9 @@ cerbero deps windows x86_64:
|
||||||
|
|
||||||
cerbero cross win64:
|
cerbero cross win64:
|
||||||
extends: '.cerbero cross win64'
|
extends: '.cerbero cross win64'
|
||||||
|
needs:
|
||||||
|
- "cerbero deps windows x86_64"
|
||||||
|
- "manifest"
|
||||||
dependencies:
|
dependencies:
|
||||||
- "cerbero deps windows x86_64"
|
- "cerbero deps windows x86_64"
|
||||||
only:
|
only:
|
||||||
|
@ -627,6 +647,9 @@ build cerbero cross win64:
|
||||||
|
|
||||||
android universal examples:
|
android universal examples:
|
||||||
extends: ".android universal examples"
|
extends: ".android universal examples"
|
||||||
|
needs:
|
||||||
|
- "build cerbero android universal"
|
||||||
|
- "manifest"
|
||||||
dependencies:
|
dependencies:
|
||||||
- "build cerbero android universal"
|
- "build cerbero android universal"
|
||||||
except:
|
except:
|
||||||
|
@ -640,6 +663,9 @@ android universal examples:
|
||||||
|
|
||||||
cerbero android universal examples:
|
cerbero android universal examples:
|
||||||
extends: ".android universal examples"
|
extends: ".android universal examples"
|
||||||
|
needs:
|
||||||
|
- "cerbero android universal"
|
||||||
|
- "manifest"
|
||||||
dependencies:
|
dependencies:
|
||||||
- "cerbero android universal"
|
- "cerbero android universal"
|
||||||
only:
|
only:
|
||||||
|
@ -683,6 +709,9 @@ cerbero deps macos x86_64:
|
||||||
|
|
||||||
cerbero macos x86_64:
|
cerbero macos x86_64:
|
||||||
extends: '.cerbero macos x86_64'
|
extends: '.cerbero macos x86_64'
|
||||||
|
needs:
|
||||||
|
- "cerbero deps macos x86_64"
|
||||||
|
- "manifest"
|
||||||
dependencies:
|
dependencies:
|
||||||
- "cerbero deps macos x86_64"
|
- "cerbero deps macos x86_64"
|
||||||
only:
|
only:
|
||||||
|
@ -735,6 +764,9 @@ cerbero deps ios universal:
|
||||||
|
|
||||||
cerbero ios universal:
|
cerbero ios universal:
|
||||||
extends: '.cerbero ios universal'
|
extends: '.cerbero ios universal'
|
||||||
|
needs:
|
||||||
|
- "cerbero deps ios universal"
|
||||||
|
- "manifest"
|
||||||
dependencies:
|
dependencies:
|
||||||
- "cerbero deps ios universal"
|
- "cerbero deps ios universal"
|
||||||
only:
|
only:
|
||||||
|
@ -756,6 +788,9 @@ build cerbero ios universal:
|
||||||
|
|
||||||
documentation:
|
documentation:
|
||||||
image: $FEDORA_IMAGE
|
image: $FEDORA_IMAGE
|
||||||
|
needs:
|
||||||
|
- "build nodebug fedora x86_64"
|
||||||
|
- "manifest"
|
||||||
dependencies:
|
dependencies:
|
||||||
- 'build nodebug fedora x86_64'
|
- 'build nodebug fedora x86_64'
|
||||||
stage: integrate
|
stage: integrate
|
||||||
|
|
Loading…
Reference in a new issue