2 - remote: "https://gitlab.freedesktop.org/freedesktop/ci-templates/-/raw/7ea696055e322cc7aa4bcbe5422b56a198c4bdff/templates/ci-fairy.yml"
10 # Use the resulting binaries
14 # Branch to track for modules that have no ref specified in the manifest
15 GST_UPSTREAM_BRANCH: 'master'
16 ORC_UPSTREAM_BRANCH: 'master'
18 GIT_LFS_SKIP_SMUDGE: '1'
22 # These are the version tags for the docker images the CI runs against.
23 # If you are hacking on them or need a them to rebuild, its enough
24 # to change any part of the string of the image you want.
26 FEDORA_TAG: '2021-06-30.0'
27 INDENT_TAG: '2020-10-22.0'
28 WINDOWS_TAG: "2021-09-09.0"
30 GST_UPSTREAM_REPO: 'gstreamer/gst-ci'
32 FEDORA_AMD64_SUFFIX: 'amd64/fedora'
33 INDENT_AMD64_SUFFIX: 'amd64/gst-indent'
34 WINDOWS_AMD64_SUFFIX: 'amd64/windows'
35 WINDOWS_RUST_AMD64_SUFFIX: 'amd64/windows-rust'
37 FEDORA_IMAGE: "$CI_REGISTRY_IMAGE/$FEDORA_AMD64_SUFFIX:$FEDORA_TAG-$GST_UPSTREAM_BRANCH"
38 FEDORA_DOCS_IMAGE: "registry.freedesktop.org/gstreamer/gst-ci/amd64/fedora:2020-07-03.0-master"
39 INDENT_IMAGE: "$CI_REGISTRY_IMAGE/$INDENT_AMD64_SUFFIX:$INDENT_TAG-$GST_UPSTREAM_BRANCH"
40 WINDOWS_IMAGE: "$CI_REGISTRY_IMAGE/$WINDOWS_AMD64_SUFFIX:$WINDOWS_TAG-$GST_UPSTREAM_BRANCH"
41 WINDOWS_UPSTREAM_IMAGE: "$CI_REGISTRY/$GST_UPSTREAM_REPO/$WINDOWS_AMD64_SUFFIX:$WINDOWS_TAG-$GST_UPSTREAM_BRANCH"
43 RUST_MINIMUM_VERSION: '1.54.0'
44 RUST_LATEST_VERSION: '1.55.0'
46 WINDOWS_RUST_MINIMUM_IMAGE: "$CI_REGISTRY_IMAGE/$WINDOWS_RUST_AMD64_SUFFIX:$WINDOWS_TAG-$GST_UPSTREAM_BRANCH-rust-$RUST_MINIMUM_VERSION"
47 WINDOWS_RUST_MINIMUM_UPSTREAM_IMAGE: "$CI_REGISTRY/$GST_UPSTREAM_REPO/$WINDOWS_RUST_AMD64_SUFFIX:$WINDOWS_TAG-$GST_UPSTREAM_BRANCH-rust-$RUST_MINIMUM_VERSION"
49 WINDOWS_RUST_LATEST_IMAGE: "$CI_REGISTRY_IMAGE/$WINDOWS_RUST_AMD64_SUFFIX:$WINDOWS_TAG-$GST_UPSTREAM_BRANCH-rust-$RUST_LATEST_VERSION"
50 WINDOWS_RUST_LATEST_UPSTREAM_IMAGE: "$CI_REGISTRY/$GST_UPSTREAM_REPO/$WINDOWS_RUST_AMD64_SUFFIX:$WINDOWS_TAG-$GST_UPSTREAM_BRANCH-rust-$RUST_LATEST_VERSION"
52 MESON_BUILDTYPE_ARGS: --default-library=both
54 -Dlibnice:tests=disabled
55 -Dlibnice:examples=disabled
56 -Dopenh264:tests=disabled
57 -Dpygobject:tests=false
69 -Dgstreamer:werror=true
70 -Dgst-plugins-base:werror=true
71 -Dgst-plugins-good:werror=true
72 -Dgst-plugins-ugly:werror=true
73 -Dgst-plugins-bad:werror=true
74 -Dgst-rtsp-server:werror=true
75 -Dgst-libav:werror=true
76 -Dgst-examples:werror=true
77 -Dgst-editing-services:werror=true
78 -Dgst-docs:werror=true
80 -Dgst-devtools:werror=true
81 -Dgst-python:werror=true
82 -Dgstreamer-vaapi:werror=true
83 -Dgstreamer-sharp:werror=true
87 - if: $CI_MERGE_REQUEST_IID
89 - if: $CI_COMMIT_BRANCH
94 # This can be used to configure global behaviour our our jobs.
100 - 'runner_system_failure'
101 - 'stuck_or_timeout_failure'
102 - 'scheduler_failure'
107 # Script to check if a docker image exists in the upstream registry
108 # and if so copy it to the forked registry so we can use it
110 # This is copied/adapted from citemplates/templates/fedora.yml
111 # https://gitlab.freedesktop.org/freedesktop/ci-templates/-/blob/96b621fe9f57ec2464f8d1a0940446afbf6c8f59/templates/fedora.yml
112 .check_image: &check_image_exists |
113 # if-not-exists steps
116 if [[ -z "$GST_FORCE_REBUILD" ]]
118 # disable exit on failure
121 # check if our image is already in the current registry
122 # we store the sha of the digest and the layers
123 skopeo inspect docker://$LOCAL_IMAGE | jq '[.Digest, .Layers]' > local_sha
125 # check if our image is already in our gst-ci registry fork
126 skopeo inspect docker://$LOCAL_GST_CI_IMAGE | jq '[.Digest, .Layers]' > local_gst_ci_sha
128 # check if our image is already in the upstream registry
129 if [[ -z "$GST_UPSTREAM_REPO" ]]
131 echo "WARNING! Variable \$GST_UPSTREAM_REPO is undefined, cannot check for images"
133 skopeo inspect docker://$GST_UPSTREAM_IMAGE | jq '[.Digest, .Layers]' > upstream_sha
136 # reenable exit on failure
139 # if the upstream repo has an image, ensure we use the same
140 if [ -s upstream_sha ]
143 echo "Checking if $LOCAL_IMAGE is up to date"
144 # ensure we use the same image from upstream
145 diff upstream_sha local_sha && exit 0 || true
147 echo "Copying image from gstreamer/gst-ci to local registry"
148 # copy the original image into the current project registry namespace
149 # we do 2 attempts with skopeo copy at most
150 skopeo copy --dest-creds $CI_REGISTRY_USER:$CI_REGISTRY_PASSWORD \
151 docker://$GST_UPSTREAM_IMAGE \
152 docker://$LOCAL_IMAGE || \
153 skopeo copy --dest-creds $CI_REGISTRY_USER:$CI_REGISTRY_PASSWORD \
154 docker://$GST_UPSTREAM_IMAGE \
155 docker://$LOCAL_IMAGE
162 # if the local ci fork repo has an image, ensure we use the same
163 if [ -s local_gst_ci_sha ]
165 echo "Checking if $LOCAL_GST_CI_IMAGE is up to date"
166 # ensure we use the same image from upstream
167 diff local_gst_ci_sha local_sha && exit 0 || true
169 echo "Copying image from $CI_PROJECT_NAMESPACE/gst-ci to local registry"
170 # copy the original image into the current project registry namespace
171 # we do 2 attempts with skopeo copy at most
172 skopeo copy --dest-creds $CI_REGISTRY_USER:$CI_REGISTRY_PASSWORD \
173 docker://$LOCAL_GST_CI_IMAGE \
174 docker://$LOCAL_IMAGE || \
175 skopeo copy --dest-creds $CI_REGISTRY_USER:$CI_REGISTRY_PASSWORD \
176 docker://$LOCAL_GST_CI_IMAGE \
177 docker://$LOCAL_IMAGE
182 # if we have a local image but none in the upstream repo, use our
185 echo "Using $LOCAL_IMAGE"
191 # Build docker images from Dockerfiles
193 # This is copied/adapted from citemplates/templates/fedora.yml
194 # https://gitlab.freedesktop.org/freedesktop/ci-templates/-/blob/96b621fe9f57ec2464f8d1a0940446afbf6c8f59/templates/fedora.yml
196 # CITemplates builds uses buildah run/commit workflow to build the images which doesn't
197 # fit us atm and our images need further adjustment to make use of it. Porting to
198 # ci-templates is the next step though.
200 # All the documentation from citemplates should be applicable here, so please refer there
202 image: "$CI_REGISTRY/freedesktop/ci-templates/buildah:2020-07-20.1"
204 STORAGE_DRIVER: 'vfs'
205 BUILDAH_FORMAT: 'docker'
206 BUILDAH_ISOLATION: 'chroot'
210 - export LOCAL_IMAGE="$CI_REGISTRY_IMAGE/$REPO_SUFFIX:$TAG"
211 - export LOCAL_GST_CI_IMAGE="$CI_REGISTRY/$CI_PROJECT_NAMESPACE/gst-ci/$REPO_SUFFIX:$TAG"
212 - export GST_UPSTREAM_IMAGE="$CI_REGISTRY/$GST_UPSTREAM_REPO/$REPO_SUFFIX:$TAG"
214 # check if the docker registry is enabled, else the variable will be missing
216 if [[ -z "$CI_REGISTRY_IMAGE" ]]
218 echo "ERROR! Looks like your repository/fork has disabled Docker Registries."
219 echo "Pleae enable them by following the documentation from here:"
220 echo "https://docs.gitlab.com/ee/user/packages/container_registry/#enable-the-container-registry-for-your-project"
224 # Newer versions of podman/buildah try to set overlayfs mount options when
225 # using the vfs driver, and this causes errors.
226 - sed -i '/^mountopt =.*/d' /etc/containers/storage.conf
228 - *check_image_exists
230 - echo "Building image $LOCAL_IMAGE"
234 --build-arg DEFAULT_BRANCH=$GST_UPSTREAM_BRANCH
235 --label ci.job_id=$CI_JOB_ID
236 --label pipeline.url=$CI_PIPELINE_URL
237 --label git.ref_name=$CI_COMMIT_REF_NAME
238 --label git.sha=$CI_COMMIT_SHA
239 --label gitlab.project_path=$CI_PROJECT_PATH
240 --label gitlab.project_url=$CI_PROJECT_URL
241 --label fdo.upstream-repo=$GST_UPSTREAM_REPO
246 - buildah login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
250 if [ "$CI_PROJECT_PATH" = "gstreamer/gstreamer" ]; then
251 if [ "$LOCAL_IMAGE" != "$GST_UPSTREAM_IMAGE" ]; then
252 echo "ERROR!!! AAAAA! THE IMAGE URI DOES NOT MATCH THE EXPECTED UPSTREAM ONE"
254 echo $GST_UPSTREAM_IMAGE
259 - buildah push $LOCAL_IMAGE
262 stage: "build docker"
264 REPO_SUFFIX: "$FEDORA_AMD64_SUFFIX"
265 TAG: "$FEDORA_TAG-$GST_UPSTREAM_BRANCH"
267 CONTEXT_DIR: "ci/docker/fedora/"
268 DOCKERFILE: "ci/docker/fedora/Dockerfile"
271 gst-indent amd64 docker:
272 stage: "build docker"
274 REPO_SUFFIX: "$INDENT_AMD64_SUFFIX"
275 TAG: "$INDENT_TAG-$GST_UPSTREAM_BRANCH"
277 CONTEXT_DIR: "ci/docker/indent/"
278 DOCKERFILE: "ci/docker/indent/Dockerfile"
281 windows amd64 docker:
282 stage: "build docker"
286 # Unlike the buildah/linux jobs, this file
287 # needs to be relative to docker/windows/ subdir
288 # as it makes life easier in the powershell script
290 # We also don't need a CONTEXT_DIR var as its also
291 # hardcoded to be docker/windows/
292 DOCKERFILE: "ci/docker/windows/Dockerfile"
298 # We need to pass an array and to resolve the env vars, so we can't use a variable:
299 - $DOCKER_BUILD_ARGS = @("--build-arg", "DEFAULT_BRANCH=$GST_UPSTREAM_BRANCH")
301 - "& ci/docker/windows/container.ps1 $CI_REGISTRY $CI_REGISTRY_USER $CI_REGISTRY_PASSWORD $WINDOWS_IMAGE $WINDOWS_UPSTREAM_IMAGE $DOCKERFILE"
304 echo "Failed to build the image"
308 .windows rust docker build:
309 stage: 'build docker'
311 - job: 'windows amd64 docker'
314 - if: '$CI_PROJECT_NAME == "gst-ci"'
316 GIT_STRATEGY: 'fetch'
318 # Unlike the buildah/linux jobs, this file
319 # needs to be relative to docker/windows/ subdir
320 # as it makes life easier in the powershell script
322 # We also don't need a CONTEXT_DIR var as its also
323 # hardcoded to be docker/windows/
324 DOCKERFILE: 'docker/windows/rust.Dockerfile'
330 # We need to pass an array and to resolve the env vars, so we can't use a variable:
331 - $DOCKER_BUILD_ARGS = @("--build-arg", "DEFAULT_BRANCH=$GST_UPSTREAM_BRANCH", "--build-arg", "BASE_IMAGE=$WINDOWS_IMAGE", "--build-arg", "RUST_VERSION=$RUST_VERSION")
333 - $env:WINDOWS_CONTAINER_SCRIPT_PATH = "$env:CI_PROJECT_DIR\container.ps1"
334 - echo "Fetching $env:WINDOWS_CONTAINER_SCRIPT_URL"
335 - Invoke-WebRequest -Uri $env:WINDOWS_CONTAINER_SCRIPT_URL -OutFile $env:WINDOWS_CONTAINER_SCRIPT_PATH
337 - "& $env:WINDOWS_CONTAINER_SCRIPT_PATH $CI_REGISTRY $CI_REGISTRY_USER $CI_REGISTRY_PASSWORD $RUST_IMAGE $RUST_UPSTREAM_IMAGE $DOCKERFILE"
340 echo "Failed to build the image"
344 windows rust amd64 docker latest stable:
345 extends: '.windows rust docker build'
347 RUST_IMAGE: !reference [variables, "WINDOWS_RUST_LATEST_IMAGE"]
348 RUST_UPSTREAM_IMAGE: !reference [variables, "WINDOWS_RUST_LATEST_UPSTREAM_IMAGE"]
349 RUST_VERSION: !reference [variables, "RUST_LATEST_VERSION"]
351 windows rust amd64 docker minimum supported version:
352 extends: '.windows rust docker build'
354 RUST_IMAGE: !reference [variables, "WINDOWS_RUST_MINIMUM_IMAGE"]
355 RUST_UPSTREAM_IMAGE: !reference [variables, "WINDOWS_RUST_MINIMUM_UPSTREAM_IMAGE"]
356 RUST_VERSION: !reference [variables, "RUST_MINIMUM_VERSION"]
360 # ---- Preparation ----- #
368 GIT_STRATEGY: 'fetch'
369 GIT_LFS_SKIP_SMUDGE: '1'
371 # man indent. grep RETURN VALUE, grab a beer on my behalf...
372 - indent --version || true
373 - ./scripts/gst-indent-all
375 if git diff --quiet; then
376 echo "Code is properly formatted"
378 git diff --color=always
379 echo 'style diverges, please run gst-indent first'
384 # If the MR is assigned to the Merge bot, trigger the pipeline automatically
385 - if: '$CI_MERGE_REQUEST_ASSIGNEES == "gstreamer-merge-bot"'
386 # When the assignee isn't the merge bot, require an explicit action to trigger the pipeline
387 # to avoid wasting CI resources
388 - if: '$CI_MERGE_REQUEST_ASSIGNEES != "gstreamer-merge-bot"'
391 # If this matches, it means the pipeline is running against either the main
392 # or a stable branch, so make it manual
393 - if: '$CI_COMMIT_BRANCH == $GST_UPSTREAM_BRANCH'
397 # Check "allow-edit" checkbox on merge requests with ci-fairy
400 extends: '.fdo.ci-fairy'
404 - ci-fairy check-merge-request --require-allow-collaboration
406 - if: '$CI_PIPELINE_SOURCE == "merge_request_event"'
409 # build setup templates
411 .build_template: &build
414 - meson build/ $MESON_ARGS
416 - ccache --show-stats
420 CCACHE_COMPILERCHECK: 'content'
421 CCACHE_COMPRESS: 'true'
422 CCACHE_BASEDIR: '/cache/gstreamer/gstreamer'
423 CCACHE_DIR: '/cache/gstreamer/gstreamer/ccache/'
424 # shared across everything really
425 CCACHE_MAXSIZE: '10G'
426 CARGO_HOME: '/cache/gstreamer/cargo'
428 .simple_fedora_build: &simple_build >-
429 ${DEFAULT_MESON_ARGS}
432 -Dgst-omx:target=generic
435 ${MESON_BUILDTYPE_ARGS}
441 - '.build_ccache_vars'
444 # Taking into account the slowest shared runner + time needed to upload the binaries to artifacts
445 # Also need to take into account I/O of pulling docker images and uploading artifacts
448 MESON_ARGS: "${DEFAULT_MESON_ARGS} ${MESON_BUILDTYPE_ARGS} ${MESON_GST_WERROR}"
452 - mv build/meson-logs/ meson-logs
459 .base_modules_changes: &modules_changes
463 - subprojects/gst-devtools/**/*
464 - subprojects/gst-editing-services/**/*
465 - subprojects/gst-integration-testsuites/**/*
466 - subprojects/gst-libav/**/*
467 - subprojects/gst-omx/**/*
468 - subprojects/gst-plugins-bad/**/*
469 - subprojects/gst-plugins-base/**/*
470 - subprojects/gst-plugins-good/**/*
471 - subprojects/gst-plugins-ugly/**/*
472 - subprojects/gst-python/**/*
473 - subprojects/gstreamer/**/*
474 - subprojects/gstreamer-sharp/**/*
475 - subprojects/gstreamer-vaapi/**/*
476 - subprojects/gst-rtsp-server/**/*
478 .simple_fedora_build: &simple_build >-
479 ${DEFAULT_MESON_ARGS}
482 -Dgst-omx:target=generic
485 ${MESON_BUILDTYPE_ARGS}
491 - '.build_ccache_vars'
492 # Taking into account the slowest shared runner + time needed to upload the binaries to artifacts
493 # Also need to take into account I/O of pulling docker images and uploading artifacts
496 MESON_ARGS: "${DEFAULT_MESON_ARGS} ${MESON_BUILDTYPE_ARGS} ${MESON_GST_WERROR}"
498 - ci/scripts/handle-subprojects-cache.py subprojects/
499 # Update subprojects to respect `.wrap` content
500 - meson subprojects update --reset
504 - mv build/meson-logs/ meson-logs
511 .build fedora x86_64:
515 MESON_ARGS: *simple_build
520 build nodebug fedora x86_64:
524 MESON_ARGS: "${DEFAULT_MESON_ARGS} -Dsharp=enabled -Dgstreamer:gst_debug=false -Domx=enabled -Dgst-omx:target=generic ${MESON_BUILDTYPE_ARGS} ${MESON_GST_WERROR}"
526 build static fedora x86_64:
527 extends: '.build fedora x86_64'
529 MESON_BUILDTYPE_ARGS: "--default-library=static -Dintrospection=disabled -Ddoc=disabled"
531 build static nodebug fedora x86_64:
532 extends: 'build nodebug fedora x86_64'
534 MESON_BUILDTYPE_ARGS: "--default-library=static -Dintrospection=disabled -Ddoc=disabled"
536 build clang fedora x86_64:
537 extends: '.build fedora x86_64'
540 CXX: 'ccache clang++'
543 image: $WINDOWS_IMAGE
554 ${DEFAULT_MESON_ARGS}
558 -Dgst-plugins-base:pango=enabled
559 -Dgst-plugins-good:cairo=enabled
564 - ci/scripts/handle-subprojects-cache.py subprojects/
566 # For some reason, options are separated by newline instead of space, so we
567 # have to replace them first.
568 - $env:MESON_ARGS = $env:MESON_ARGS.replace("`n"," ")
569 - cmd.exe /C "C:\BuildTools\Common7\Tools\VsDevCmd.bat -host_arch=amd64 -arch=$env:ARCH &&
570 meson build $env:MESON_ARGS &&
572 # XXX: Re-enable when uploading stops timing out
574 # expire_in: "7 days"
577 # - 'build/meson-logs/'
580 extends: '.build windows'
585 extends: '.build windows'
590 extends: '.build windows'
598 # Make sure powershell exists on errors
599 # https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.core/about/about_preference_variables?view=powershell-6
600 - $ErrorActionPreference = "Stop"
602 # For some reason docker build hangs if this is included in the image, needs more troubleshooting
603 - $env:PATH += ';C:\msys64\usr\bin;C:\msys64\mingw64\bin;C:\msys64\mingw32\bin'
604 # Copied from https://github.com/msys2/setup-msys2/blob/master/main.js#L98
605 - C:\msys64\usr\bin\bash -c "pacman-key --init && pacman-key --populate msys2 && pacman-key --refresh-keys || true"
606 - C:\msys64\usr\bin\bash -c "sed -i 's/^CheckSpace/#CheckSpace/g' /etc/pacman.conf"
607 - echo "Updating MSYS2"
608 - C:\msys64\usr\bin\bash -c "pacman -Syuu --noconfirm || echo Update failed, ignoring"
609 - echo "Killing all MSYS2 processes"
610 - taskkill /F /FI "MODULES eq msys-2.0.dll"
611 - echo "Completing MSYS2 update"
612 - C:\msys64\usr\bin\bash -c "pacman -Suu --noconfirm"
613 - echo "Installing needed MSYS2 packages"
614 - C:\msys64\usr\bin\bash -c "pacman -Sy --noconfirm --needed mingw-w64-x86_64-toolchain ninja"
616 # For some reason, options are separated by newline instead of space, so we
617 # have to replace them first.
618 - $env:MESON_ARGS = $env:MESON_ARGS.replace("`n"," ")
619 # Replace forward slashes with backwards so bash doesn't complain
620 - $env:_PROJECT_DIR = $env:CI_PROJECT_DIR.replace('\','/')
621 - C:\msys64\usr\bin\bash -c "meson build $env:MESON_ARGS && ninja -C build"
628 - '.build_ccache_vars'
632 MESON_ARGS: *simple_build
634 # Disable colored output to avoid weird rendering issues
635 GST_DEBUG_NO_COLOR: "true"
636 CI_ARTIFACTS_URL: "${CI_PROJECT_URL}/-/jobs/${CI_JOB_ID}/artifacts/raw/validate-logs/"
637 GST_VALIDATE_LAUNCHER_FORCE_COLORS: "true"
639 CARGO_HOME: "/cache/gstreamer/cargo"
640 # Enable the fault handler so we get backtraces on segfaults.
641 # any non-empty string will do
642 PYTHONFAULTHANDLER: "enabled"
649 - echo "-> Running ${TEST_SUITE}"
652 gst-validate-launcher ${TEST_SUITE}
658 --timeout-factor "${TIMEOUT_FACTOR}"
659 --fail-on-testlist-change
660 -l "${CI_PROJECT_DIR}/validate-logs/"
661 --xunit-file "${CI_PROJECT_DIR}/validate-logs/xunit.xml"
662 ${EXTRA_VALIDATE_ARGS}
664 - mv build/meson-logs/ meson-logs
673 - "validate-logs/*.xml"
681 extends: '.test fedora x86_64'
683 TEST_SUITE: "check.gst*"
685 integration testsuites fedora:
686 extends: '.test fedora x86_64'
689 EXTRA_VALIDATE_ARGS: "--timeout-factor=2 --retry-on-failures --check-bugs --parts=${CI_NODE_TOTAL} --part-index=${CI_NODE_INDEX}"
690 TEST_SUITE: "validate ges"
691 GIT_LFS_SKIP_SMUDGE: '0'
694 # introspection has been disabled as the static build does not support it.
695 # See https://gitlab.freedesktop.org/gstreamer/gst-build/-/issues/162
697 extends: 'build static fedora x86_64'
701 --default-library=static
702 -Dintrospection=disabled
708 - subprojects/gst-ci/**/*
712 - meson test -C build -v test-gst-full
719 gstreamer-full-minimal:
720 extends: 'build static fedora x86_64'
724 --default-library=static
725 -Dauto_features=disabled
726 -Dgstreamer:check=enabled
728 -Dgst-plugins-base:alsa=enabled
729 -Dgst-plugins-base:typefind=enabled
730 -Dgst-plugins-base:pbtypes=enabled
731 -Dgst-full-elements=coreelements:filesrc,fakesink,identity,input-selector
732 -Dgst-full-typefind-functions=typefindfunctions:wav,flv
733 -Dgst-full-device-providers=alsa:alsadeviceprovider
734 -Dgst-full-dynamic-types=pbtypes:video_multiview_flagset
737 - if: '$CI_PROJECT_NAME =~ /^(gst-build|gst-ci)$/'
741 - meson test -C build -v test-gst-full
742 - meson test -C build test-gst-full-features --test-args "-e filesrc,identity,fakesink -E filesink,capsfilter -t audio/x-wav -T video/vivo -d alsadeviceprovider -D v4l2deviceprovider -l GstVideoMultiviewFlagsSet"
743 - strip build/libgstreamer-full-1.0.so
744 - ls -l build/libgstreamer-full-1.0.so
752 .valgrind fedora x86_64:
753 extends: '.test fedora x86_64'
756 EXTRA_VALIDATE_ARGS: "--valgrind"
759 extends: '.valgrind fedora x86_64'
761 TEST_SUITE: "check.gstreamer\\..*"
766 - subprojects/gst-ci/**/*
767 - subprojects/gst-devtools/**/*
768 - subprojects/gstreamer/**/*
771 extends: '.valgrind fedora x86_64'
773 TEST_SUITE: "check.gst-plugins-base\\..*"
778 - subprojects/gst-ci/**/*
779 - subprojects/gst-devtools/**/*
780 - subprojects/gstreamer/**/*
781 - subprojects/gst-plugins-base/**/*
784 extends: '.valgrind fedora x86_64'
786 TEST_SUITE: "check.gst-plugins-good\\..*"
787 # take longer time due to splitmux unit test
793 - subprojects/gst-ci/**/*
794 - subprojects/gst-devtools/**/*
795 - subprojects/gstreamer/**/*
796 - subprojects/gst-plugins-base/**/*
797 - subprojects/gst-plugins-good/**/*
800 extends: '.valgrind fedora x86_64'
802 TEST_SUITE: "check.gst-plugins-ugly\\..*"
807 - subprojects/gst-ci/**/*
808 - subprojects/gst-devtools/**/*
809 - subprojects/gstreamer/**/*
810 - subprojects/gst-plugins-base/**/*
811 - subprojects/gst-plugins-good/**/*
812 - subprojects/gst-plugins-ugly/**/*
815 extends: '.valgrind fedora x86_64'
817 TEST_SUITE: "check.gst-plugins-bad\\..*"
822 - subprojects/gst-ci/**/*
823 - subprojects/gst-devtools/**/*
824 - subprojects/gstreamer/**/*
825 - subprojects/gst-plugins-base/**/*
826 - subprojects/gst-plugins-good/**/*
827 - subprojects/gst-plugins-bad/**/*
830 extends: '.valgrind fedora x86_64'
832 TEST_SUITE: "check.gst-editing-services\\..*"
837 - subprojects/gst-ci/**/*
838 - subprojects/gst-devtools/**/*
839 - subprojects/gstreamer/**/*
840 - subprojects/gst-plugins-base/**/*
841 - subprojects/gst-plugins-good/**/*
842 - subprojects/gst-plugins-bad/**/*
843 - subprojects/gst-editing-services/**/*
845 # ---- Integration ----- #
848 image: $FEDORA_DOCS_IMAGE
850 - '.build_ccache_vars'
857 - subprojects/gst-docs/**/*
858 - subprojects/gst-devtools/**/*
859 - subprojects/gst-editing-services/**/*
860 - subprojects/gst-libav/**/*
861 - subprojects/gst-omx/**/*
862 - subprojects/gst-plugins-bad/**/*
863 - subprojects/gst-plugins-base/**/*
864 - subprojects/gst-plugins-good/**/*
865 - subprojects/gst-plugins-ugly/**/*
866 - subprojects/gstreamer/**/*
867 - subprojects/gstreamer-vaapi/**/*
868 - subprojects/gst-rtsp-server/**/*
871 MESON_ARGS: *simple_build
872 MESON_BUILDTYPE_ARGS: "-Ddoc=enabled"
873 CI_ARTIFACTS_URL: "${CI_PROJECT_URL}/-/jobs/${CI_JOB_ID}/artifacts/raw/"
875 - pip3 install --upgrade hotdoc
877 - ./gst-env.py ninja -C build/ plugins_doc_caches
878 - ./ci/scripts/check-documentation-diff.py
879 - ./gst-env.py hotdoc run --conf-file=build/subprojects/gst-docs/GStreamer-doc.json --fatal-warnings
880 - mv build/subprojects/gst-docs/GStreamer-doc/html documentation/
886 - plugins-cache-diffs/
888 # FIXME: Using trigger: causes permission issues, workaround using old REST API.
889 # https://gitlab.com/gitlab-org/gitlab/-/issues/341737
894 - python3 -m pip install --user python-gitlab
895 - ci/gitlab/trigger_cerbero_pipeline.py
898 # Use GST_UPSTREAM_BRANCH
899 UPSTREAM_BRANCH: 'main'
904 - ci/gitlab/tigger_cerbero_pipeline.py
905 - subprojects/gst-devtools/**/*
906 - subprojects/gst-editing-services/**/*
907 - subprojects/gst-libav/**/*
908 - subprojects/gst-plugins-bad/**/*
909 - subprojects/gst-plugins-base/**/*
910 - subprojects/gst-plugins-good/**/*
911 - subprojects/gst-plugins-ugly/**/*
912 - subprojects/gst-python/**/*
913 - subprojects/gstreamer/**/*
914 - subprojects/gst-rtsp-server/**/*
915 - subprojects/gst-examples/**/*