diff options
author | Jordan Petridis <jordan@centricular.com> | 2020-09-30 11:40:18 +0300 |
---|---|---|
committer | GStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org> | 2023-04-24 12:37:07 +0000 |
commit | 187420a21b500cef3ab81248c160882b3add6d37 (patch) | |
tree | f54760d9143b59202bdb1f4d6e4866b9e32104bc /.gitlab-ci.yml | |
parent | 50de7adf1a9409de23ad34a4409359ea63aa6c6c (diff) | |
download | gstreamer-187420a21b500cef3ab81248c160882b3add6d37.tar.gz |
citemplate: move the buildtype from the meson args to a variable
Instead of appending to the existing variable, have the gstbuild
template construct the meson args accordingly.
Also avoid using the buildtype to extend hackily jos to pass
extra args to them
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/4281>
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r-- | .gitlab-ci.yml | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 7e638b15f0..fd865ab4ec 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -40,7 +40,7 @@ variables: WINDOWS_IMAGE: "$CI_REGISTRY_IMAGE/$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 + MESON_EXTRA_ARGS: "" DEFAULT_MESON_ARGS: > -Dlibnice:tests=disabled -Dlibnice:examples=disabled @@ -250,7 +250,7 @@ commitlint: - date -R - ci/scripts/handle-subprojects-cache.py subprojects/ - date -R - - export ARGS="$MESON_ARGS" + - export ARGS="--default-library=${BUILD_TYPE:-both} $MESON_ARGS" - |- if [ $GST_WERROR == "true" ]; then export ARGS="$ARGS $MESON_GST_WERROR" @@ -314,7 +314,7 @@ commitlint: timeout: '45min' variables: GST_WERROR: "true" - MESON_ARGS: "${DEFAULT_MESON_ARGS} ${MESON_BUILDTYPE_ARGS}" + MESON_ARGS: "${DEFAULT_MESON_ARGS} ${MESON_EXTRA_ARGS}" script: - *build - ./gst-env.py gst-inspect-1.0 --version @@ -370,7 +370,7 @@ build nodebug fedora x86_64: - "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_ARGS: "${DEFAULT_MESON_ARGS} -Dsharp=enabled -Dgstreamer:gst_debug=false -Domx=enabled -Dgst-omx:target=generic ${MESON_EXTRA_ARGS}" build clang fedora x86_64: extends: '.build fedora x86_64' @@ -563,7 +563,7 @@ integration testsuites fedora: extends: '.test fedora x86_64' parallel: 8 variables: - MESON_BUILDTYPE_ARGS: > + MESON_EXTRA_ARGS: > -Domx=disabled -Dsharp=disabled -Dvaapi=disabled @@ -593,8 +593,8 @@ gstreamer-full static build: extends: '.build fedora x86_64' stage: 'build' variables: + BUILD_TYPE: "static" MESON_ARGS: > - --default-library=static -Ddoc=disabled script: @@ -611,8 +611,8 @@ gstreamer-full-minimal static build: stage: 'build' variables: GST_WERROR: "true" + BUILD_TYPE: "static" MESON_ARGS: > - --default-library=static -Ddoc=disabled -Dgstreamer:gst_debug=false -Dauto_features=disabled @@ -743,7 +743,7 @@ valgrind ges: extends: '.build fedora x86_64' variables: MESON_ARGS: *simple_build - MESON_BUILDTYPE_ARGS: "-Ddoc=enabled -Drs=enabled -Dgst-docs:fatal_warnings=true" + MESON_EXTRA_ARGS: "-Ddoc=enabled -Drs=enabled -Dgst-docs:fatal_warnings=true" # Disable werror for the docs build, we don't need it GST_WERROR: 'false' CI_ARTIFACTS_URL: "${CI_PROJECT_URL}/-/jobs/${CI_JOB_ID}/artifacts/raw/" |