2 - template: 'Workflows/Branch-Pipelines.gitlab-ci.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'
20 # These are the version tags for the docker images the CI runs against.
21 # If you are hacking on them or need a them to rebuild, its enough
22 # to change any part of the string of the image you want.
24 FEDORA_TAG: '2020-07-03.1'
25 CERBERO_TAG: '2020-06-25.0'
26 ANDROID_TAG: '2020-06-25.0'
27 MANIFEST_TAG: '2020-06-25.0'
28 TEST_MANIFEST_TAG: '2020-06-25.0'
29 INDENT_TAG: '2020-06-29.0'
31 GST_UPSTREAM_REPO: 'gstreamer/gst-ci'
33 FEDORA_AMD64_SUFFIX: 'amd64/fedora'
34 CERBERO_AMD64_SUFFIX: 'amd64/cerbero-fedora'
35 ANDROID_AMD64_SUFFIX: 'amd64/android-fedora'
36 MANIFEST_AMD64_SUFFIX: 'amd64/build-manifest'
37 TEST_MANIFEST_AMD64_SUFFIX: 'amd64/test-manifest'
38 INDENT_AMD64_SUFFIX: 'amd64/gst-indent'
40 FEDORA_IMAGE: "$CI_REGISTRY_IMAGE/$FEDORA_AMD64_SUFFIX:$FEDORA_TAG-$GST_UPSTREAM_BRANCH"
41 FEDORA_DOCS_IMAGE: "registry.freedesktop.org/gstreamer/gst-ci/amd64/fedora:2020-07-03.0-master"
42 CERBERO_IMAGE: "$CI_REGISTRY_IMAGE/$CERBERO_AMD64_SUFFIX:$CERBERO_TAG-$GST_UPSTREAM_BRANCH"
43 ANDROID_IMAGE: "$CI_REGISTRY_IMAGE/$ANDROID_AMD64_SUFFIX:$ANDROID_TAG-$GST_UPSTREAM_BRANCH"
44 MANIFEST_IMAGE: "$CI_REGISTRY_IMAGE/$MANIFEST_AMD64_SUFFIX:$MANIFEST_TAG-$GST_UPSTREAM_BRANCH"
45 TEST_MANIFEST_IMAGE: "$CI_REGISTRY_IMAGE/$TEST_MANIFEST_AMD64_SUFFIX:$TEST_MANIFEST_TAG-$GST_UPSTREAM_BRANCH"
46 INDENT_IMAGE: "$CI_REGISTRY_IMAGE/$INDENT_AMD64_SUFFIX:$INDENT_TAG-$GST_UPSTREAM_BRANCH"
48 WINDOWS_IMAGE: 'registry.freedesktop.org/gstreamer/gst-ci/amd64/windows:v11-master'
51 MESON_BUILDTYPE_ARGS: --default-library=both
53 -Dlibnice:tests=disabled
54 -Dlibnice:examples=disabled
55 -Dopenh264:tests=disabled
56 -Dpygobject:tests=false
68 -Dgstreamer:werror=true
69 -Dgst-plugins-base:werror=true
70 -Dgst-plugins-good:werror=true
71 -Dgst-plugins-ugly:werror=true
72 -Dgst-plugins-bad:werror=true
73 -Dgst-rtsp-server:werror=true
74 -Dgst-libav:werror=true
75 -Dgst-examples:werror=true
76 -Dgst-editing-services:werror=true
77 -Dgst-docs:werror=true
79 -Dgst-devtools:werror=true
80 -Dgst-python:werror=true
81 -Dgstreamer-vaapi:werror=true
82 -Dgstreamer-sharp:werror=true
84 DEFAULT_CERBERO_ARGS: >
91 # This can be used to configure global behaviour our our jobs.
97 - 'runner_system_failure'
98 - 'stuck_or_timeout_failure'
104 # Script to check if a docker image exists in the upstream registry
105 # and if so copy it to the forked registry so we can use it
107 # This is copied/adapted from citemplates/templates/fedora.yml
108 # https://gitlab.freedesktop.org/freedesktop/ci-templates/-/blob/96b621fe9f57ec2464f8d1a0940446afbf6c8f59/templates/fedora.yml
109 .check_image: &check_image_exists |
110 # if-not-exists steps
113 if [[ -z "$GST_FORCE_REBUILD" ]]
115 # disable exit on failure
118 # check if our image is already in the current registry
119 # we store the sha of the digest and the layers
120 skopeo inspect docker://$LOCAL_IMAGE | jq '[.Digest, .Layers]' > local_sha
122 # check if our image is already in our gst-ci registry fork
123 skopeo inspect docker://$LOCAL_GST_CI_IMAGE | jq '[.Digest, .Layers]' > local_gst_ci_sha
125 # check if our image is already in the upstream registry
126 if [[ -z "$GST_UPSTREAM_REPO" ]]
128 echo "WARNING! Variable \$GST_UPSTREAM_REPO is undefined, cannot check for images"
130 skopeo inspect docker://$GST_UPSTREAM_IMAGE | jq '[.Digest, .Layers]' > upstream_sha
133 # reenable exit on failure
136 # if the upstream repo has an image, ensure we use the same
137 if [ -s upstream_sha ]
140 echo "Checking if $LOCAL_IMAGE is up to date"
141 # ensure we use the same image from upstream
142 diff upstream_sha local_sha && exit 0 || true
144 echo "Copying image from gstreamer/gst-ci to local registry"
145 # copy the original image into the current project registry namespace
146 # we do 2 attempts with skopeo copy at most
147 skopeo copy --dest-creds $CI_REGISTRY_USER:$CI_REGISTRY_PASSWORD \
148 docker://$GST_UPSTREAM_IMAGE \
149 docker://$LOCAL_IMAGE || \
150 skopeo copy --dest-creds $CI_REGISTRY_USER:$CI_REGISTRY_PASSWORD \
151 docker://$GST_UPSTREAM_IMAGE \
152 docker://$LOCAL_IMAGE
159 # if the local ci fork repo has an image, ensure we use the same
160 if [ -s local_gst_ci_sha ]
162 echo "Checking if $LOCAL_GST_CI_IMAGE is up to date"
163 # ensure we use the same image from upstream
164 diff local_gst_ci_sha local_sha && exit 0 || true
166 echo "Copying image from $CI_PROJECT_NAMESPACE/gst-ci to local registry"
167 # copy the original image into the current project registry namespace
168 # we do 2 attempts with skopeo copy at most
169 skopeo copy --dest-creds $CI_REGISTRY_USER:$CI_REGISTRY_PASSWORD \
170 docker://$LOCAL_GST_CI_IMAGE \
171 docker://$LOCAL_IMAGE || \
172 skopeo copy --dest-creds $CI_REGISTRY_USER:$CI_REGISTRY_PASSWORD \
173 docker://$LOCAL_GST_CI_IMAGE \
174 docker://$LOCAL_IMAGE
179 # if we have a local image but none in the upstream repo, use our
182 echo "Using $LOCAL_IMAGE"
188 # Build docker images from Dockerfiles
190 # This is copied/adapted from citemplates/templates/fedora.yml
191 # https://gitlab.freedesktop.org/freedesktop/ci-templates/-/blob/96b621fe9f57ec2464f8d1a0940446afbf6c8f59/templates/fedora.yml
193 # CITemplates builds uses buildah run/commit workflow to build the images which doesn't
194 # fit us atm and our images need further adjustment to make use of it. Porting to
195 # ci-templates is the next step though.
197 # All the documentation from citemplates should be applicable here, so please refer there
199 image: "$CI_REGISTRY/freedesktop/ci-templates/buildah:2020-03-24"
201 STORAGE_DRIVER: 'vfs'
202 BUILDAH_FORMAT: 'docker'
203 BUILDAH_ISOLATION: 'chroot'
207 - export LOCAL_IMAGE="$CI_REGISTRY_IMAGE/$REPO_SUFFIX:$TAG"
208 - export LOCAL_GST_CI_IMAGE="$CI_REGISTRY/$CI_PROJECT_NAMESPACE/gst-ci/$REPO_SUFFIX:$TAG"
209 - export GST_UPSTREAM_IMAGE="$CI_REGISTRY/$GST_UPSTREAM_REPO/$REPO_SUFFIX:$TAG"
211 # check if the docker registry is enabled, else the variable will be missing
213 if [[ -z "$CI_REGISTRY_IMAGE" ]]
215 echo "ERROR! Looks like your repository/fork has disabled Docker Registries."
216 echo "Pleae enable them by following the documentation from here:"
217 echo "https://docs.gitlab.com/ee/user/packages/container_registry/#enable-the-container-registry-for-your-project"
221 # Newer versions of podman/buildah try to set overlayfs mount options when
222 # using the vfs driver, and this causes errors.
223 - sed -i '/^mountopt =.*/d' /etc/containers/storage.conf
225 - *check_image_exists
227 # This part of the job should only ever be possible to be reach in a gst-ci fork
229 if [[ "$CI_PROJECT_NAME" != 'gst-ci' ]]
231 echo "ERROR! Something is wrong!"
232 echo "This part of the job is supposed to be executed only in gst-ci forks, and its probably going to fail else"
236 - echo "Building image $LOCAL_IMAGE"
240 --build-arg DEFAULT_BRANCH=$GST_UPSTREAM_BRANCH
241 --label ci.job_id=$CI_JOB_ID
242 --label pipeline.url=$CI_PIPELINE_URL
243 --label git.ref_name=$CI_COMMIT_REF_NAME
244 --label git.sha=$CI_COMMIT_SHA
245 --label gitlab.project_path=$CI_PROJECT_PATH
246 --label gitlab.project_url=$CI_PROJECT_URL
247 --label fdo.upstream-repo=$GST_UPSTREAM_REPO
248 --label fdo.expires-after="3w"
253 - buildah login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
257 if [ "$CI_PROJECT_PATH" = "gstreamer/gst-ci" ]; then
258 if [ "$LOCAL_IMAGE" != "$GST_UPSTREAM_IMAGE" ]; then
259 echo "ERROR!!! AAAAA! THE IMAGE URI DOES NOT MATCH THE EXPECTED UPSTREAM ONE"
261 echo $GST_UPSTREAM_IMAGE
266 - buildah push $LOCAL_IMAGE
269 stage: "build docker"
271 REPO_SUFFIX: "$FEDORA_AMD64_SUFFIX"
272 TAG: "$FEDORA_TAG-$GST_UPSTREAM_BRANCH"
274 CONTEXT_DIR: "./docker/fedora/"
275 DOCKERFILE: "docker/fedora/Dockerfile"
278 cerbero fedora amd64 docker:
279 stage: "build docker"
281 REPO_SUFFIX: "$CERBERO_AMD64_SUFFIX"
282 TAG: "$CERBERO_TAG-$GST_UPSTREAM_BRANCH"
284 CONTEXT_DIR: "docker/cerbero/"
285 DOCKERFILE: "docker/cerbero/Dockerfile-fedora"
289 stage: "build docker"
291 REPO_SUFFIX: "$ANDROID_AMD64_SUFFIX"
292 TAG: "$ANDROID_TAG-$GST_UPSTREAM_BRANCH"
294 CONTEXT_DIR: "docker/android/"
295 DOCKERFILE: "docker/android/Dockerfile"
298 alpine amd64 manifest builder docker:
299 stage: "build docker"
301 REPO_SUFFIX: "$MANIFEST_AMD64_SUFFIX"
302 TAG: '$MANIFEST_TAG-$GST_UPSTREAM_BRANCH'
304 CONTEXT_DIR: "docker/build_manifest/"
305 DOCKERFILE: "docker/build_manifest/Dockerfile"
308 gst-indent amd64 docker:
309 stage: "build docker"
311 REPO_SUFFIX: "$INDENT_AMD64_SUFFIX"
312 TAG: "$INDENT_TAG-$GST_UPSTREAM_BRANCH"
314 CONTEXT_DIR: "docker/indent/"
315 DOCKERFILE: "docker/indent/Dockerfile"
319 # Job to create the manifest.xml to used for our builds
322 image: $MANIFEST_IMAGE
324 # Always have automatic pipeline for branchs in cerbero and docs
325 # cause they need to update artifacts, like the docs site or cerbero deps
326 - if: '$CI_PROJECT_PATH == "gstreamer/cerbero"'
327 - if: '$CI_PROJECT_PATH == "gstreamer/gst-docs"'
329 # If the user that triggered the Pipeline is the Merge bot and the branch doesn't match
330 # the upstream branch set, run the pipeline
331 - if: '$GITLAB_USER_LOGIN == "gstreamer-merge-bot" && $CI_COMMIT_BRANCH != "$GST_UPSTREAM_BRANCH"'
332 # When the user isn't the merge bot, require an explicit action to trigger the pipeline
333 # to avoid wasting CI resources
334 - if: '$GITLAB_USER_LOGIN != "gstreamer-merge-bot"'
336 # If this matches, it means the pipeline is running against either the main
337 # or a stable branch, so make it manual
338 - if: '$CI_COMMIT_BRANCH == "$GST_UPSTREAM_BRANCH"'
344 - gitlab/build_manifest.py --self-update
345 - gitlab/build_manifest.py ${CI_PROJECT_DIR}/manifest.xml
346 - cat ${CI_PROJECT_DIR}/manifest.xml
359 GIT_STRATEGY: 'fetch'
361 - if: '$CI_PROJECT_NAME !~ /^(gstreamer-sharp|gst-integration-testsuites|cerbero|gst-docs)$/'
363 # man indent. grep RETURN VALUE, grab a beer on my behalf...
364 - indent --version || true
367 if test -f ".indentignore"; then
369 while read -r line; do
370 if test -n "$line"; then
371 filter_args+=("-e" "$line")
373 done < ".indentignore"
374 if [[ ${#filter_args[@]} -gt 0 ]]; then
375 filter_cmd=("grep" "-v" "${filter_args[@]}")
378 find . -name '*.c' | "${filter_cmd[@]}" | xargs -d '\n' gst-indent
380 if git diff --quiet; then
381 echo "Code is properly formatted"
383 git diff --color=always
384 echo 'style diverges, please run gst-indent first'
389 # gst-build setup templates
391 .gst_build_template: &gst_build
393 # Sometimes, gitlab-runner want to reuse
394 # existing docker volumes without cleaning them up...
395 # Make sure the docker volume is clean
396 - rm -rf gst-build || true
397 - rm -rf meson-logs || true
398 - rm -rf validate-logs || true
400 - curl -L -o clone_manifest_ref.py "https://gitlab.freedesktop.org/gstreamer/gst-ci/raw/${GST_UPSTREAM_BRANCH}/gitlab/clone_manifest_ref.py"
401 - python3 clone_manifest_ref.py --manifest manifest.xml --project gst-build --destination gst-build
403 # only copy immediate directories. We don't want to modify .wrap files
404 - find /gst-build/subprojects/ -mindepth 1 -maxdepth 1 -type d -exec cp -r \{\} subprojects/ \;
405 - ./git-update --no-interaction --manifest="${CI_PROJECT_DIR}/manifest.xml"
406 - meson build/ $MESON_ARGS
408 - ccache --show-stats
410 .gst_build_ccache_vars:
412 CCACHE_COMPILERCHECK: 'content'
413 CCACHE_COMPRESS: 'true'
414 CCACHE_BASEDIR: '/cache/gstreamer/gst-build'
415 CCACHE_DIR: '/cache/gstreamer/gst-build/ccache/'
416 # shared across everything really
417 CCACHE_MAXSIZE: '10G'
418 CARGO_HOME: '/cache/gstreamer/cargo'
420 .simple_fedora_build: &simple_build >-
421 ${DEFAULT_MESON_ARGS}
424 -Dgst-omx:target=generic
427 ${MESON_BUILDTYPE_ARGS}
433 - '.gst_build_ccache_vars'
436 # Taking into account the slowest shared runner + time needed to upload the binaries to artifacts
437 # Also need to take into account I/O of pulling docker images and uploading artifacts
440 MESON_ARGS: "${DEFAULT_MESON_ARGS} ${MESON_BUILDTYPE_ARGS} ${MESON_GST_WERROR}"
442 - if: '$CI_PROJECT_NAME != "cerbero"'
446 - mv gst-build/build/meson-logs/ meson-logs
447 # Cleanup everything else to reduce the size
448 # of the docker volume we leave behind
457 .build fedora x86_64:
461 MESON_ARGS: *simple_build
463 - if: '$CI_PROJECT_NAME !~ /^(cerbero|gst-omx|gst-plugins-rs)$/'
465 build nodebug fedora x86_64:
469 MESON_ARGS: "${DEFAULT_MESON_ARGS} -Dsharp=enabled -Dgstreamer:gst_debug=false -Domx=enabled -Dgst-omx:target=generic ${MESON_BUILDTYPE_ARGS} ${MESON_GST_WERROR}"
471 - if: '$CI_PROJECT_NAME !~ /^(cerbero|gst-docs|gst-integration-testsuites|gst-omx|gst-plugins-rs)$/'
473 build static fedora x86_64:
474 extends: '.build fedora x86_64'
476 MESON_BUILDTYPE_ARGS: "--default-library=static -Dintrospection=disabled -Ddoc=disabled"
478 - if: '$CI_PROJECT_NAME !~ /^(cerbero|gst-docs|gst-integration-testsuites|gst-omx|gst-plugins-rs)$/'
480 build static nodebug fedora x86_64:
481 extends: 'build nodebug fedora x86_64'
483 MESON_BUILDTYPE_ARGS: "--default-library=static -Dintrospection=disabled -Ddoc=disabled"
485 - if: '$CI_PROJECT_NAME !~ /^(cerbero|gst-docs|gst-integration-testsuites|gst-omx|gst-plugins-rs)$/'
487 build clang fedora x86_64:
488 extends: '.build fedora x86_64'
491 CXX: 'ccache clang++'
493 - if: '$CI_PROJECT_NAME !~ /^(cerbero|gst-docs|gst-integration-testsuites|gst-omx|gst-plugins-rs)$/'
498 - '.gst_build_ccache_vars'
502 MESON_ARGS: *simple_build
504 # Disable colored output to avoid weird rendering issues
505 GST_DEBUG_NO_COLOR: "true"
506 CI_ARTIFACTS_URL: "${CI_PROJECT_URL}/-/jobs/${CI_JOB_ID}/artifacts/raw/validate-logs/"
507 GST_VALIDATE_LAUNCHER_FORCE_COLORS: "true"
509 CARGO_HOME: "/cache/gstreamer/cargo"
511 - if: '$CI_PROJECT_NAME !~ /^(cerbero|gst-examples|gst-docs)$/'
515 - echo "-> Running ${TEST_SUITE}"
518 gst-validate-launcher ${TEST_SUITE}
524 --timeout-factor "${TIMEOUT_FACTOR}"
525 --fail-on-testlist-change
526 -l "${CI_PROJECT_DIR}/validate-logs/"
527 --xunit-file "${CI_PROJECT_DIR}/validate-logs/xunit.xml"
528 ${EXTRA_VALIDATE_ARGS}
530 - mv gst-build/build/meson-logs/ meson-logs
531 # Cleanup everything else to reduce the size
532 # of the docker volume we leave behind
543 - "validate-logs/*.xml"
551 extends: '.test fedora x86_64'
553 TEST_SUITE: "check.gst*"
555 - if: '$CI_PROJECT_NAME !~ /^(cerbero|gst-docs|gst-integration-testsuites|gst-omx|gst-plugins-rs)$/'
557 integration testsuites fedora:
558 extends: '.test fedora x86_64'
561 EXTRA_VALIDATE_ARGS: "--timeout-factor=2 --retry-on-failures --check-bugs --parts=${CI_NODE_TOTAL} --part-index=${CI_NODE_INDEX}"
562 TEST_SUITE: "validate ges"
564 - if: '$CI_PROJECT_NAME !~ /^(cerbero|gst-docs|gst-examples|gst-omx|gstreamer-sharp|gst-plugins-rs)$/'
567 extends: 'build static fedora x86_64'
571 --default-library=static
572 -Dauto_features=disabled
573 -Dgst-plugins-good:alpha=enabled
576 - if: '$CI_PROJECT_NAME =~ /^(gst-build|gst-ci)$/'
580 - ninja -C build install
581 - export PKG_CONFIG_PATH=/usr/local/lib64/pkgconfig:/usr/local/lib64/gstreamer-1.0/pkgconfig
582 - export LD_LIBRARY_PATH=/usr/local/lib64
583 - cd examples/static-plugins
586 - meson test -C _build -v
591 - 'gst-build/build/meson-logs/'
592 - 'gst-build/build/gstinitstaticplugins.c'
595 .valgrind fedora x86_64:
596 extends: '.test fedora x86_64'
599 EXTRA_VALIDATE_ARGS: "--valgrind"
602 extends: '.valgrind fedora x86_64'
604 TEST_SUITE: "check.gstreamer\\..*"
606 - if: '$CI_PROJECT_NAME =~ /^(gstreamer|gst-ci|gst-devtools)$/'
609 extends: '.valgrind fedora x86_64'
611 TEST_SUITE: "check.gst-plugins-base\\..*"
613 - if: '$CI_PROJECT_NAME =~ /^(gstreamer|gst-plugins-base|gst-ci|gst-devtools)$/'
616 extends: '.valgrind fedora x86_64'
618 TEST_SUITE: "check.gst-plugins-good\\..*"
619 # take longer time due to splitmux unit test
622 - if: '$CI_PROJECT_NAME =~ /^(gstreamer|gst-plugins-base|gst-plugins-good|gst-ci|gst-devtools)$/'
625 extends: '.valgrind fedora x86_64'
627 TEST_SUITE: "check.gst-plugins-ugly\\..*"
629 - if: '$CI_PROJECT_NAME =~ /^(gstreamer|gst-plugins-base|gst-plugins-ugly|gst-ci|gst-devtools)$/'
632 extends: '.valgrind fedora x86_64'
634 TEST_SUITE: "check.gst-plugins-bad\\..*"
636 - if: '$CI_PROJECT_NAME =~ /^(gstreamer|gst-plugins-base|gst-plugins-good|gst-plugins-bad|gst-ci|gst-devtools)$/'
639 extends: '.valgrind fedora x86_64'
641 TEST_SUITE: "check.gst-editing-services\\..*"
643 - if: '$CI_PROJECT_NAME =~ /^(gstreamer|gst-plugins-base|gst-plugins-good|gst-editing-services|gst-ci|gst-devtools)$/'
645 # Template for Cerbero GStreamer Build
648 # CONFIG: The name of the configuration file to use
649 # ARCH: The cerbero <os>_<cpu> (used in cache key)
651 # Produces runtime and devel tarball packages for linux/android or .pkg for macos
652 .cerbero template: &cerbero_package_and_check
653 - $CERBERO $CERBERO_ARGS package --offline ${CERBERO_PACKAGE_ARGS} -o $(pwd) gstreamer-1.0
654 # Run gst-inspect-1.0 for some basic checks. Can't do this for cross-(android|ios)-universal, of course.
656 [[ $CONFIG == *universal* ]] || $CERBERO $CERBERO_ARGS run $CERBERO_RUN_WRAPPER gst-inspect-1.0$CERBERO_RUN_SUFFIX --version
658 [[ $CONFIG == *universal* ]] || $CERBERO $CERBERO_ARGS run $CERBERO_RUN_WRAPPER gst-inspect-1.0$CERBERO_RUN_SUFFIX
659 - test "x${HAVE_CCACHE}" = "xyes" && ccache -s || true # eat the return value from the failing test
663 image: $CERBERO_IMAGE
665 - if: '$CI_PROJECT_NAME == "cerbero"'
668 # Ensure that the runners it will be executed on
669 # will have plenty of space for the cache
673 CCACHE_COMPILERCHECK: "content"
674 CCACHE_COMPRESS: "true"
675 CCACHE_BASEDIR: "/cache/gstreamer/cerbero/"
676 CCACHE_DIR: "/cache/gstreamer/cerbero/ccache/"
677 # shared across everything really
678 CCACHE_MAXSIZE: "50G"
680 CERBERO_HOME: "cerbero-build"
681 CERBERO_SOURCES: "cerbero-sources"
682 CERBERO_ARGS: "${DEFAULT_CERBERO_ARGS}"
683 CERBERO: "./cerbero-uninstalled -c config/${CONFIG} -c localconf.cbc -m manifest.xml"
684 CERBERO_PACKAGE_ARGS: "-t"
685 CERBERO_RUN_WRAPPER: "" # 'wine' on cross-winXX
686 CERBERO_RUN_SUFFIX: "" # '.exe' on cross-winXX
688 # used by macos packages as we only ever install to a fixed directory
689 CERBERO_OVERRIDDEN_DIST_DIR: ""
690 # location where cerbero is cached on the host
691 CERBERO_HOST_DIR: "/cerbero/"
693 # FIXME Wrong namespace
694 # Workaround build-tools having hardcoded internal path
696 - mkdir -p ../../gstreamer
697 - ln -sf $(pwd) ../../gstreamer/cerbero
698 - mkdir -p ../../${CI_PROJECT_NAMESPACE}
699 - ln -sf $(pwd) ../../${CI_PROJECT_NAMESPACE}/cerbero
700 - rsync -aH ${CERBERO_HOST_DIR} .
701 - echo "home_dir = \"$(pwd)/${CERBERO_HOME}\"" >> localconf.cbc
702 - echo "local_sources = \"$(pwd)/${CERBERO_SOURCES}\"" >> localconf.cbc
703 - ./cerbero-uninstalled --self-update manifest.xml
705 - test "x${HAVE_CCACHE}" = "xyes" && ccache --show-stats
706 - $CERBERO $CERBERO_ARGS show-config
707 - $CERBERO $CERBERO_ARGS fetch-bootstrap --build-tools-only
708 - $CERBERO $CERBERO_ARGS fetch-package --deps gstreamer-1.0
709 - $CERBERO $CERBERO_ARGS fetch-cache --branch ${GST_UPSTREAM_BRANCH}
710 - test "x${CERBERO_OVERRIDDEN_DIST_DIR}" != "x"
711 && test -d ${CERBERO_HOME}/dist/${ARCH}
712 && mkdir -p ${CERBERO_OVERRIDDEN_DIST_DIR}
713 && rsync -aH ${CERBERO_HOME}/dist/${ARCH}/ ${CERBERO_OVERRIDDEN_DIST_DIR}
714 - $CERBERO $CERBERO_ARGS bootstrap --offline --build-tools-only
715 - *cerbero_package_and_check
717 key: "${CI_JOB_NAME}"
719 - "${CERBERO_SOURCES}"
721 name: "${CI_JOB_NAME}_${CI_COMMIT_SHA}"
726 - "${CERBERO_HOME}/logs"
730 image: $WINDOWS_IMAGE
741 ${DEFAULT_MESON_ARGS}
747 - if: '$CI_PROJECT_NAME !~ /^(cerbero|gst-docs|gst-integration-testsuites|gst-omx|gst-plugins-rs|gstreamer-vaapi)$/'
749 # Sometimes there's seems to be an existing gst-build clone that comes either from the ether or
750 # from a previous job due to some gitlab bug or implicit behavior?
751 # So let's always check and clear it out if its there
752 # https://gitlab.freedesktop.org/tpm/gstreamer-sharp/-/jobs/1672137
753 - if (Test-Path $env:CI_PROJECT_DIR/gst-build) { Remove-Item -Recurse -Force $env:CI_PROJECT_DIR/gst-build }
755 # Make sure powershell exists on errors
756 # https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.core/about/about_preference_variables?view=powershell-6
757 - $ErrorActionPreference = "Stop"
759 - Invoke-WebRequest -Uri "https://gitlab.freedesktop.org/gstreamer/gst-ci/raw/$env:GST_UPSTREAM_BRANCH/gitlab/clone_manifest_ref.py" -OutFile $env:CI_PROJECT_DIR/clone_manifest_ref.py
760 - python clone_manifest_ref.py --manifest manifest.xml --project gst-build --destination $env:CI_PROJECT_DIR/gst-build
761 - cd $env:CI_PROJECT_DIR/gst-build
763 - cp -r C:/subprojects/* subprojects/
764 # Run the git-update script and feed it the manifest to setup the environment
765 - cd $env:CI_PROJECT_DIR/gst-build; python git-update --no-interaction --manifest=$env:CI_PROJECT_DIR/manifest.xml
766 # For some reason, options are separated by newline instead of space, so we
767 # have to replace them first.
768 - $env:MESON_ARGS = $env:MESON_ARGS.replace("`n"," ")
769 # Gitlab executes PowerShell in docker, but VsDevCmd.bat is a batch script.
770 # Environment variables substitutions is done by PowerShell before calling
771 # cmd.exe, that's why we use $env:FOO instead of %FOO%
772 - cmd.exe /C "C:\BuildTools\Common7\Tools\VsDevCmd.bat -host_arch=amd64 -arch=$env:ARCH &&
773 meson build $env:MESON_ARGS &&
775 # XXX: Re-enable when uploading stops timing out
777 # expire_in: "7 days"
780 # - 'gst-build/build/meson-logs/'
783 extends: '.build windows'
788 extends: '.build windows'
793 extends: '.build windows'
796 - if: '$CI_PROJECT_NAME !~ /^(cerbero|gst-docs|gst-integration-testsuites|gst-omx|gst-plugins-rs|gstreamer-vaapi)$/'
800 # Sometimes there's seems to be an existing gst-build clone that comes either from the ether or
801 # from a previous job due to some gitlab bug or implicit behavior?
802 # So let's always check and clear it out if its there
803 # https://gitlab.freedesktop.org/tpm/gstreamer-sharp/-/jobs/1672137
804 - if (Test-Path $env:CI_PROJECT_DIR/gst-build) { Remove-Item -Recurse -Force $env:CI_PROJECT_DIR/gst-build }
806 # Make sure powershell exists on errors
807 # https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.core/about/about_preference_variables?view=powershell-6
808 - $ErrorActionPreference = "Stop"
810 # For some reason docker build hangs if this is included in the image, needs more troubleshooting
811 - $env:PATH += ';C:\msys64\usr\bin;C:\msys64\mingw64\bin;C:\msys64\mingw32\bin'
812 # Copied from https://github.com/msys2/setup-msys2/blob/master/main.js#L98
813 - C:\msys64\usr\bin\bash -c "pacman-key --init && pacman-key --populate msys2 && pacman-key --refresh-keys || true"
814 - C:\msys64\usr\bin\bash -c "sed -i 's/^CheckSpace/#CheckSpace/g' /etc/pacman.conf"
815 - echo "Updating MSYS2"
816 - C:\msys64\usr\bin\bash -c "pacman -Syuu --noconfirm || echo Update failed, ignoring"
817 - echo "Killing all MSYS2 processes"
818 - taskkill /F /FI "MODULES eq msys-2.0.dll"
819 - echo "Completing MSYS2 update"
820 - C:\msys64\usr\bin\bash -c "pacman -Suu --noconfirm"
821 - echo "Installing needed MSYS2 packages"
822 - C:\msys64\usr\bin\bash -c "pacman -Sy --noconfirm --needed mingw-w64-x86_64-toolchain ninja"
824 - Invoke-WebRequest -Uri "https://gitlab.freedesktop.org/gstreamer/gst-ci/raw/$env:GST_UPSTREAM_BRANCH/gitlab/clone_manifest_ref.py" -OutFile $env:CI_PROJECT_DIR/clone_manifest_ref.py
825 - python clone_manifest_ref.py --manifest manifest.xml --project gst-build --destination $env:CI_PROJECT_DIR/gst-build
826 - cd $env:CI_PROJECT_DIR/gst-build
828 - cp -r C:\subprojects\* subprojects\
830 # Run the git-update script and feed it the manifest to setup the environment
831 - cd $env:CI_PROJECT_DIR/gst-build; python git-update --no-interaction --manifest=$env:CI_PROJECT_DIR/manifest.xml
832 # For some reason, options are separated by newline instead of space, so we
833 # have to replace them first.
834 - $env:MESON_ARGS = $env:MESON_ARGS.replace("`n"," ")
835 # Replace forward slashes with backwards so bash doesn't complain
836 - $env:_PROJECT_DIR = $env:CI_PROJECT_DIR.replace('\','/')
837 - C:\msys64\usr\bin\bash -c "cd $env:_PROJECT_DIR/gst-build &&
838 meson build $env:MESON_ARGS &&
842 # Template for Cerbero GStreamer Deps
844 # This template is used by cerbero/ project to pre-built the GStreamer
845 # dependencies. When available, the .cerbero jobs will download this artifact
846 # in order to speed up the build.
849 # CONFIG: The name of the configuration file to use
850 # ARCH: The cerbero <os>_<cpu> (used in cache key)
852 # Produce an artifact with the dist/ and .cache along
853 # with the associated build-tools.
857 - if: '$CI_PROJECT_NAME == "cerbero"'
859 - test "x${HAVE_CCACHE}" = "xyes" && ccache --show-stats
860 - $CERBERO $CERBERO_ARGS show-config
861 - $CERBERO $CERBERO_ARGS fetch-bootstrap --build-tools-only
862 - $CERBERO $CERBERO_ARGS fetch-package --deps gstreamer-1.0
863 - $CERBERO $CERBERO_ARGS bootstrap --offline --build-tools-only
864 - $CERBERO $CERBERO_ARGS build-deps --offline
865 gstreamer-1.0 gst-plugins-base-1.0 gst-plugins-good-1.0
866 gst-plugins-bad-1.0 gst-plugins-ugly-1.0 gst-rtsp-server-1.0
867 gst-libav-1.0 gst-devtools-1.0 gst-editing-services-1.0 libnice
868 - test "x${CERBERO_OVERRIDDEN_DIST_DIR}" != "x"
869 && mkdir -p ${CERBERO_HOME}/dist/${ARCH}
870 && rsync -aH ${CERBERO_OVERRIDDEN_DIST_DIR}/ ${CERBERO_HOME}/dist/${ARCH}
871 - $CERBERO $CERBERO_ARGS gen-cache --branch ${GST_UPSTREAM_BRANCH}
872 - test "x${CERBERO_PRIVATE_SSH_KEY}" = "x"
873 || $CERBERO $CERBERO_ARGS upload-cache --branch ${GST_UPSTREAM_BRANCH}
874 - *cerbero_package_and_check
877 # Cerbero Linux X86_64 build
879 cerbero deps fedora x86_64:
880 extends: '.cerbero deps'
882 CONFIG: "linux.config"
885 build cerbero fedora x86_64:
888 - if: '$CI_PROJECT_NAME !~ /^(cerbero|gst-build|gst-omx|gstreamer-vaapi|gst-docs|gst-integration-testsuites|gst-plugins-rs)$/'
890 CONFIG: "linux.config"
893 # Cerbero Android Universal build
895 .cerbero cross-android universal:
897 CONFIG: "cross-android-universal.cbc"
898 ARCH: "android_universal"
900 name: "${CI_JOB_NAME}_${CI_COMMIT_SHA}"
905 - "${CERBERO_HOME}/logs"
908 cerbero deps cross-android universal:
911 - '.cerbero cross-android universal'
913 build cerbero cross-android universal:
916 - '.cerbero cross-android universal'
918 - if: '$CI_MERGE_REQUEST_SOURCE_BRANCH_NAME && $CI_PROJECT_NAME == "gst-docs"'
919 - if: '$CI_PROJECT_NAME !~ /^(cerbero|gst-build|gst-docs|gst-omx|gstreamer-vaapi|gst-integration-testsuites|gst-plugins-rs)$/'
922 # Cerbero Cross Windows builds
924 cerbero deps cross-windows x86:
925 extends: '.cerbero deps'
927 CONFIG: "cross-win32.cbc"
930 build cerbero cross win32:
933 - if: '$CI_PROJECT_NAME !~ /^(cerbero|gst-build|gst-docs|gst-omx|gstreamer-vaapi|gst-docs|gst-integration-testsuites|gst-plugins-rs)$/'
935 CONFIG: "cross-win32.cbc"
936 CERBERO_RUN_WRAPPER: "wine"
937 CERBERO_RUN_SUFFIX: ".exe"
940 cerbero deps cross-windows x86_64:
941 extends: '.cerbero deps'
943 CONFIG: "cross-win64.cbc"
946 build cerbero cross win64:
949 - if: '$CI_PROJECT_NAME !~ /^(cerbero|gst-build|gst-omx|gstreamer-vaapi|gst-docs|gst-integration-testsuites|gst-plugins-rs)$/'
951 CONFIG: "cross-win64.cbc"
952 CERBERO_RUN_WRAPPER: "wine"
953 CERBERO_RUN_SUFFIX: ".exe"
956 # Build an Android App using the android binaries
958 .cross-android universal examples:
959 image: $ANDROID_IMAGE
962 EXAMPLES_HOME: ${CI_PROJECT_DIR}/examples
963 GSTREAMER_ROOT_ANDROID: ${CI_PROJECT_DIR}/examples/cerbero-android-universal
965 - mkdir -p ${EXAMPLES_HOME}/outputs
966 - curl -L -o clone_manifest_ref.py https://gitlab.freedesktop.org/gstreamer/gst-ci/raw/${GST_UPSTREAM_BRANCH}/gitlab/clone_manifest_ref.py
967 - chmod +x clone_manifest_ref.py
968 - ./clone_manifest_ref.py --manifest manifest.xml --project gst-examples --destination ${EXAMPLES_HOME}/gst-examples
969 - ./clone_manifest_ref.py --manifest manifest.xml --project gst-docs --destination ${EXAMPLES_HOME}/gst-docs
970 - rm clone_manifest_ref.py
972 # extract our binaries
973 - rm -f gstreamer-1.0-android-universal-*-runtime.tar.*
974 - mkdir ${GSTREAMER_ROOT_ANDROID}
975 - time tar -C ${GSTREAMER_ROOT_ANDROID} -xf gstreamer-1.0-android-universal-*.tar.*
977 # gst-examples - player
978 - chmod +x ${EXAMPLES_HOME}/gst-examples/playback/player/android/gradlew
979 - ${EXAMPLES_HOME}/gst-examples/playback/player/android/gradlew --no-daemon --project-dir ${EXAMPLES_HOME}/gst-examples/playback/player/android assembleDebug
980 - cp ${EXAMPLES_HOME}/gst-examples/playback/player/android/app/build/outputs/apk/debug/*.apk ${EXAMPLES_HOME}/outputs/
982 # gst-examples - vulkan
983 - chmod +x ${EXAMPLES_HOME}/gst-examples/vulkan/android/gradlew
984 - ${EXAMPLES_HOME}/gst-examples/vulkan/android/gradlew --no-daemon --project-dir ${EXAMPLES_HOME}/gst-examples/vulkan/android assembleDebug
985 - cp ${EXAMPLES_HOME}/gst-examples/vulkan/android/build/outputs/apk/debug/*.apk ${EXAMPLES_HOME}/outputs/
987 # gst-docs android tutorials
988 - chmod +x ${EXAMPLES_HOME}/gst-docs/examples/tutorials/android/gradlew
989 - ${EXAMPLES_HOME}/gst-docs/examples/tutorials/android/gradlew --no-daemon --project-dir ${EXAMPLES_HOME}/gst-docs/examples/tutorials/android assembleDebug
990 - cp ${EXAMPLES_HOME}/gst-docs/examples/tutorials/android/android-tutorial-*/build/outputs/apk/debug/*.apk ${EXAMPLES_HOME}/outputs/
992 - rm -rf ${GSTREAMER_ROOT_ANDROID}
993 - rm -rf ${EXAMPLES_HOME}/gst-examples ${EXAMPLES_HOME}/gst-docs
995 name: "${CI_JOB_NAME}_${CI_COMMIT_SHA}"
1000 - "${EXAMPLES_HOME}/outputs"
1002 cross-android universal examples:
1003 extends: ".cross-android universal examples"
1005 - if: '$CI_MERGE_REQUEST_SOURCE_BRANCH_NAME && $CI_PROJECT_NAME == "gst-docs"'
1006 - if: '$CI_PROJECT_NAME !~ /^(cerbero|gst-build|gst-docs|gst-omx|gstreamer-vaapi|gst-integration-testsuites|gst-plugins-rs)$/'
1008 - "build cerbero cross-android universal"
1010 cerbero cross-android universal examples:
1011 extends: ".cross-android universal examples"
1013 - if: '$CI_PROJECT_NAME == "cerbero"'
1015 - "cerbero deps cross-android universal"
1018 # Cerbero macOS X86_64 build
1020 .cerbero macos x86_64:
1022 ARCH: "darwin_x86_64"
1023 CONFIG: "osx-x86-64.cbc"
1024 CERBERO_PACKAGE_ARGS: ""
1026 CERBERO_OVERRIDDEN_DIST_DIR: "/Library/Frameworks/GStreamer.framework/Versions/1.0"
1027 CERBERO_HOST_DIR: "/Users/gst-ci/cerbero/"
1031 name: "${CI_JOB_NAME}_${CI_COMMIT_SHA}"
1036 - "${CERBERO_HOME}/logs"
1037 - "gstreamer-1.0-1.*.pkg"
1038 - "gstreamer-1.0-devel-1.*.pkg"
1040 cerbero deps macos x86_64:
1043 - '.cerbero macos x86_64'
1045 build cerbero macos x86_64:
1048 - '.cerbero macos x86_64'
1050 - if: '$CI_PROJECT_NAME !~ /^(cerbero|gst-build|gst-docs|gst-omx|gst-sharp|gstreamer-vaapi|gst-integration-testsuites|gst-plugins-rs)$/'
1055 .cerbero cross-ios universal:
1057 ARCH: "ios_universal"
1058 CONFIG: "cross-ios-universal.cbc"
1059 CERBERO_ARGS: "${DEFAULT_CERBERO_ARGS} -v nowerror"
1060 CERBERO_PACKAGE_ARGS: ""
1062 CERBERO_HOST_DIR: "/Users/gst-ci/cerbero/"
1066 name: "${CI_JOB_NAME}_${CI_COMMIT_SHA}"
1071 - "${CERBERO_HOME}/logs"
1072 - "gstreamer-1.0-*-ios-universal.pkg"
1074 cerbero deps cross-ios universal:
1077 - '.cerbero cross-ios universal'
1079 build cerbero cross-ios universal:
1082 - '.cerbero cross-ios universal'
1084 - if: '$CI_MERGE_REQUEST_SOURCE_BRANCH_NAME && $CI_PROJECT_NAME == "gst-docs"'
1085 - if: '$CI_PROJECT_NAME !~ /^(cerbero|gst-build|gst-docs|gst-omx|gst-sharp|gstreamer-vaapi|gst-integration-testsuites|gst-plugins-rs)$/'
1088 image: $FEDORA_DOCS_IMAGE
1090 - '.gst_build_ccache_vars'
1092 - if: '$CI_PROJECT_NAME !~ /^(cerbero|gst-integration-testsuites|gst-plugins-rs|gst-python)$/'
1097 MESON_ARGS: *simple_build
1098 MESON_BUILDTYPE_ARGS: "-Ddoc=enabled"
1099 CI_ARTIFACTS_URL: "${CI_PROJECT_URL}/-/jobs/${CI_JOB_ID}/artifacts/raw/"
1101 - pip3 install --upgrade git+https://github.com/hotdoc/hotdoc@28ad9aa59daa49d6b3fd1bc6b144df52af39475b
1103 - ./gst-uninstalled.py ninja -C build/ plugins_doc_caches
1105 python3 -c "import os, subprocess, sys
1106 subprojects = [os.environ['CI_PROJECT_NAME']]
1107 if subprojects[0] in ['gst-ci', 'gst-build']:
1108 subprojects = ['gstreamer', 'gst-plugins-ugly', 'gst-omx', 'gst-plugins-good', 'gst-plugins-base', 'gstreamer-vaapi', 'gst-libav', 'gst-editing-services', 'gst-rtsp-server', 'gst-plugins-bad',]
1110 diffsdir = '../plugins-cache-diffs'
1111 os.makedirs(diffsdir, exist_ok=True)
1113 for subproject in subprojects:
1114 cwd = os.path.join('subprojects', subproject)
1116 subprocess.check_call(['git', 'diff', '--quiet'], cwd=cwd)
1117 except subprocess.CalledProcessError:
1118 diffname = os.path.join(diffsdir, '%s_cache.diff' % subproject)
1120 with open(diffname, 'w') as diff:
1121 subprocess.check_call(['git', 'diff'], stdout=diff, cwd=cwd)
1122 print('\033[91mYou have a diff in the %s documentation cache. Please update with:\033[0m' % subproject)
1123 print(' $ curl %s/%s | git apply -' % (os.environ['CI_ARTIFACTS_URL'], diffname.replace('../', '')))
1125 print('(note that it might take a few minutes for artefacts to be available on the server)\n')
1128 - ./gst-uninstalled.py hotdoc run --conf-file=build/subprojects/gst-docs/GStreamer-doc.json --fatal-warnings
1130 - mv gst-build/build/subprojects/gst-docs/GStreamer-doc/html documentation/
1136 - plugins-cache-diffs/
1139 # Build an iOS App using the iOS binaries
1141 .cross-ios universal examples:
1144 EXAMPLES_HOME: ${CI_PROJECT_DIR}/examples
1145 # disable codesigning so we don't need developer identities on the CI
1148 CODE_SIGNING_REQUIRED="NO"
1149 CODE_SIGN_IDENTITY=""
1150 CODE_SIGNING_ALLOWED="NO"
1151 CODE_SIGN_ENTITLEMENTS=""
1153 # install the binaries
1154 - installer -pkg gstreamer-1.0-devel-*-ios-universal.pkg -target CurrentUserHomeDirectory -verbose
1156 - curl -L -o clone_manifest_ref.py https://gitlab.freedesktop.org/gstreamer/gst-ci/raw/${GST_UPSTREAM_BRANCH}/gitlab/clone_manifest_ref.py
1157 - chmod +x clone_manifest_ref.py
1158 - ./clone_manifest_ref.py --manifest manifest.xml --project gst-examples --destination ${EXAMPLES_HOME}/gst-examples
1159 - ./clone_manifest_ref.py --manifest manifest.xml --project gst-docs --destination ${EXAMPLES_HOME}/gst-docs
1160 - rm clone_manifest_ref.py
1162 # dump some useful information
1163 - xcodebuild -version
1164 - xcodebuild -showsdks
1166 # gst-docs ios tutorials
1167 - xcodebuild -showBuildSettings -alltargets -project ${EXAMPLES_HOME}/gst-docs/examples/tutorials/xcode\ iOS/GStreamer\ iOS\ Tutorials.xcodeproj
1168 - xcodebuild -alltargets -destination generic/platform=iOS -project ${EXAMPLES_HOME}/gst-docs/examples/tutorials/xcode\ iOS/GStreamer\ iOS\ Tutorials.xcodeproj ${XCODE_BUILD_ARGS}
1171 - xcodebuild -showBuildSettings -alltargets -project ${EXAMPLES_HOME}/gst-examples/playback/player/ios/GstPlay.xcodeproj
1172 - xcodebuild -alltargets -destination generic/platform=iOS -project ${EXAMPLES_HOME}/gst-examples/playback/player/ios/GstPlay.xcodeproj ${XCODE_BUILD_ARGS}
1174 - rm -rf ${EXAMPLES_HOME}/gst-examples ${EXAMPLES_HOME}/gst-docs
1178 cross-ios universal examples:
1179 extends: ".cross-ios universal examples"
1181 - if: '$CI_MERGE_REQUEST_SOURCE_BRANCH_NAME && $CI_PROJECT_NAME == "gst-docs"'
1182 - if: '$CI_PROJECT_NAME !~ /^(cerbero|gst-build|gst-docs|gst-omx|gstreamer-vaapi|gst-integration-testsuites|gst-plugins-rs)$/'
1184 - "build cerbero cross-ios universal"
1186 cerbero cross-ios universal examples:
1187 extends: ".cross-ios universal examples"
1189 - if: '$CI_PROJECT_NAME == "cerbero"'
1191 - "cerbero deps cross-ios universal"
1193 build gst-omx zynq fedora x86_64:
1194 extends: '.build fedora x86_64'
1196 MESON_ARGS: "-Domx=enabled -Dgst-omx:target=zynqultrascaleplus -Dgst-omx:header_path=${CI_PROJECT_DIR}/vcu-omx-il/omx_header -Dpython=disabled -Dlibav=disabled -Dlibnice=disabled -Dugly=disabled -Dbad=disabled -Ddevtools=disabled -Dges=disabled -Drtsp_server=disabled -Dvaapi=disabled -Dsharp=disabled -Dgst-examples=disabled -Drs=disabled ${MESON_BUILDTYPE_ARGS} $MESON_GST_WERROR"
1198 - if: '$CI_PROJECT_NAME =~ /^(gst-omx|gst-ci)$/'
1200 - git clone https://github.com/Xilinx/vcu-omx-il.git --branch=release-2020.1 ${CI_PROJECT_DIR}/vcu-omx-il
1202 build gst-omx tizonia fedora x86_64:
1203 extends: '.build fedora x86_64'
1205 MESON_ARGS: "-Domx=enabled -Dgst-omx:target=tizonia -Dpython=disabled -Dlibav=disabled -Dlibnice=disabled -Dugly=disabled -Dbad=disabled -Ddevtools=disabled -Dges=disabled -Drtsp_server=disabled -Dvaapi=disabled -Dsharp=disabled -Dgst-examples=disabled -Drs=disabled ${MESON_BUILDTYPE_ARGS} $MESON_GST_WERROR"
1206 PKG_CONFIG_PATH: ${PKG_CONFIG_PATH}:${CI_PROJECT_DIR}/tizonia-install/lib64/pkgconfig/
1208 - if: '$CI_PROJECT_NAME =~ /^(gst-omx|gst-ci)$/'
1210 - git clone https://github.com/tizonia/tizonia-openmax-il --branch v0.20.2
1211 - cd tizonia-openmax-il
1212 - meson build -Dclients=false -Dplugins='' -Dplayer=false -Dprefix=${CI_PROJECT_DIR}/tizonia-install
1214 - ninja -C build install