- local: '.gitlab-image-tags.yml'
stages:
- - 'trigger'
- - 'build docker'
- 'preparation'
- - 'pre-build'
- 'build'
- 'test'
# Use the resulting binaries
# Branch to track for modules that have no ref specified in the manifest
GST_UPSTREAM_BRANCH: 'main'
- GST_UPSTREAM_REPO: 'gstreamer/gstreamer'
FDO_UPSTREAM_REPO: 'gstreamer/gstreamer'
FEDORA_AMD64_SUFFIX: 'amd64/fedora'
WINDOWS_AMD64_SUFFIX: 'amd64/windows'
WINDOWS_IMAGE: "$CI_REGISTRY_IMAGE/$WINDOWS_AMD64_SUFFIX:$WINDOWS_TAG-$GST_UPSTREAM_BRANCH"
- WINDOWS_UPSTREAM_IMAGE: "$CI_REGISTRY/$GST_UPSTREAM_REPO/$WINDOWS_AMD64_SUFFIX:$WINDOWS_TAG-$GST_UPSTREAM_BRANCH"
+ WINDOWS_UPSTREAM_IMAGE: "$CI_REGISTRY/$FDO_UPSTREAM_REPO/$WINDOWS_AMD64_SUFFIX:$WINDOWS_TAG-$GST_UPSTREAM_BRANCH"
MESON_BUILDTYPE_ARGS: --default-library=both
DEFAULT_MESON_ARGS: >
# This is an empty job that is used to trigger the pipeline.
trigger:
image: alpine:latest
- stage: 'trigger'
+ stage: 'preparation'
variables:
GIT_STRATEGY: none
script:
extends:
- '.fedora image'
- '.fdo.container-build@fedora'
- stage: 'build docker'
- needs:
- - "trigger"
+ stage: 'preparation'
+ needs: []
tags:
- 'packet.net'
extends:
- '.gst-indent image'
- '.fdo.container-build@debian'
- stage: 'build docker'
+ stage: 'preparation'
# Do not depend on the trigger, as we want to run indent always
needs: []
windows amd64 docker:
- stage: "build docker"
+ stage: "preparation"
needs:
- "trigger"
timeout: '3h'
# build setup templates
#
.build_template: &build
+ - date -R
- ci/scripts/handle-subprojects-cache.py subprojects/
+ - date -R
- echo $MESON_ARGS
+ - date -R
- meson build/ $MESON_ARGS
+ - date -R
- ninja -C build/
+ - date -R
- ccache --show-stats
.build_ccache_vars:
- '.fdo.suffixed-image@fedora'
- '.build'
needs:
+ - "trigger"
- "fedora amd64 docker"
variables:
MESON_ARGS: *simple_build
- '.fdo.suffixed-image@fedora'
- '.build fedora x86_64'
needs:
+ - "trigger"
- "fedora amd64 docker"
script:
- *build
- '.fdo.suffixed-image@fedora'
- '.build'
needs:
+ - "trigger"
- "fedora amd64 docker"
variables:
MESON_ARGS: "${DEFAULT_MESON_ARGS} -Dsharp=enabled -Dgstreamer:gst_debug=false -Domx=enabled -Dgst-omx:target=generic ${MESON_BUILDTYPE_ARGS} ${MESON_GST_WERROR}"
- 'windows'
- '2022'
needs:
+ - "trigger"
- "windows amd64 docker"
timeout: '45min'
variables:
- '.fdo.suffixed-image@fedora'
- '.test'
needs:
+ - "trigger"
- "fedora amd64 docker"
tags: ['gstreamer']
integration testsuites fedora:
extends: '.test fedora x86_64'
- parallel: 4
+ parallel: 8
variables:
EXTRA_VALIDATE_ARGS: "--timeout-factor=2 --retry-on-failures --parts=${CI_NODE_TOTAL} --part-index=${CI_NODE_INDEX} --sync"
TEST_SUITE: "validate ges"
- '.documentation'
stage: build
needs:
+ - "trigger"
- "fedora amd64 docker"
rules:
# Never run post merge, we have the `documentation` always running for that
- '.fedora image'
- '.fdo.suffixed-image@fedora'
needs:
+ - "trigger"
- "fedora amd64 docker"
script:
- ci/gitlab/trigger_cerbero_pipeline.py