X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=.gitlab-ci.yml;h=916e47d01cefb7b9ff87dbf6d96a16d6e4b9c299;hb=HEAD;hp=66f994353452160fdf9d7d7d7da9f30051bb4d56;hpb=d6ad95dbe2d1b5d8f9b8313c51eda77f6bba221d;p=platform%2Fupstream%2Fgstreamer.git diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 66f9943..916e47d 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -14,10 +14,7 @@ include: - local: '.gitlab-image-tags.yml' stages: - - 'trigger' - - 'build docker' - 'preparation' - - 'pre-build' - 'build' - 'test' # Use the resulting binaries @@ -27,7 +24,7 @@ variables: GIT_DEPTH: 1 # Branch to track for modules that have no ref specified in the manifest - GST_UPSTREAM_BRANCH: 'main' + GST_UPSTREAM_BRANCH: '1.22' FDO_UPSTREAM_REPO: 'gstreamer/gstreamer' @@ -103,7 +100,7 @@ default: # 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: @@ -132,9 +129,8 @@ fedora amd64 docker: extends: - '.fedora image' - '.fdo.container-build@fedora' - stage: 'build docker' - needs: - - "trigger" + stage: 'preparation' + needs: [] tags: - 'packet.net' @@ -150,14 +146,12 @@ gst-indent amd64 docker: 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" - needs: - - "trigger" + stage: "preparation" timeout: '3h' variables: # Unlike the buildah/linux jobs, this file @@ -209,10 +203,15 @@ gst indent: # 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: @@ -292,6 +291,7 @@ gst indent: - '.fdo.suffixed-image@fedora' - '.build' needs: + - "trigger" - "fedora amd64 docker" variables: MESON_ARGS: *simple_build @@ -302,6 +302,7 @@ build fedora x86_64: - '.fdo.suffixed-image@fedora' - '.build fedora x86_64' needs: + - "trigger" - "fedora amd64 docker" script: - *build @@ -316,6 +317,7 @@ build nodebug fedora x86_64: - '.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}" @@ -334,6 +336,7 @@ build clang fedora x86_64: - 'windows' - '2022' needs: + - "trigger" - "windows amd64 docker" timeout: '45min' variables: @@ -344,6 +347,8 @@ build clang fedora x86_64: -Dvaapi=disabled -Dgst-plugins-base:pango=enabled -Dgst-plugins-good:cairo=enabled + -Dgst-plugins-good:soup=enabled + -Dgst-plugins-good:soup-lookup-dep=true # Needs to not be empty otherwise the newline -> space replace command in # `script:` will fail MESON_CROSS_ARGS: ' ' @@ -356,6 +361,9 @@ build clang fedora x86_64: *modules_changes - changes: - subprojects/win-*/* + before_script: + # Install more recent version. We need at least 0.63 for diff_files support in wraps + - pip3 install -U meson==1.1.1 script: # Make sure powershell exits on errors # https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.core/about/about_preference_variables?view=powershell-6 @@ -402,9 +410,12 @@ build vs2019 arm64 uwp: ARCH: 'arm64' # pango pulls in cairo which pulls in pixman which doesn't build because of # https://github.com/mesonbuild/meson/issues/9889 + # libsoup requires glib-compile-resources, which isn't available in a cross + # build MESON_CROSS_ARGS: > -Dgst-plugins-base:pango=disabled -Dgst-plugins-good:cairo=disabled + -Dgst-plugins-good:soup-lookup-dep=false -Dgst-devtools:cairo=disabled --cross-file ci/meson/vs2019-arm64-cross-file.txt --native-file ci/meson/vs2019-x64-native-file.txt @@ -467,7 +478,6 @@ build msys2 : - > ./gst-env.py gst-validate-launcher ${TEST_SUITE} - --check-bugs --dump-on-failure --mute --shuffle @@ -496,6 +506,7 @@ build msys2 : - '.fdo.suffixed-image@fedora' - '.test' needs: + - "trigger" - "fedora amd64 docker" tags: ['gstreamer'] @@ -506,8 +517,23 @@ check fedora: integration testsuites fedora: extends: '.test fedora x86_64' - parallel: 4 + parallel: 8 variables: + MESON_BUILDTYPE_ARGS: > + -Domx=disabled + -Dsharp=disabled + -Dvaapi=disabled + -Dexamples=disabled + -Dgst-examples=disabled + -Dtests=disabled + -Dnls=disabled + -Dqt5=disabled + -Dgstreamer:benchmarks=disabled + -Dgst-plugins-good:gtk3=disabled + -Dgst-plugins-bad:microdns=disabled + -Dgst-plugins-bad:avtp=disabled + -Dgst-plugins-bad:opencv=disabled + -Dgst-plugins-bad:webrtc=disabled EXTRA_VALIDATE_ARGS: "--timeout-factor=2 --retry-on-failures --parts=${CI_NODE_TOTAL} --part-index=${CI_NODE_INDEX} --sync" TEST_SUITE: "validate ges" @@ -656,6 +682,10 @@ valgrind ges: - subprojects/gst-plugins-bad/**/* - subprojects/gst-editing-services/**/* - subprojects/gst-python/**/* + # valgrind ges jobs are racy across the board and simply fail too often. + # Someone needs to go through job logs and figure out which jobs to mark + # as flaky. Until then, just ignore failures. + allow_failure: true # ---- Integration ----- # @@ -713,6 +743,7 @@ build documentation: - '.documentation' stage: build needs: + - "trigger" - "fedora amd64 docker" rules: # Never run post merge, we have the `documentation` always running for that @@ -746,6 +777,7 @@ cerbero trigger: - '.fedora image' - '.fdo.suffixed-image@fedora' needs: + - "trigger" - "fedora amd64 docker" script: - ci/gitlab/trigger_cerbero_pipeline.py