diff options
author | Jordan Petridis <jordan@centricular.com> | 2023-03-27 16:48:43 +0300 |
---|---|---|
committer | GStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org> | 2023-04-24 12:37:07 +0000 |
commit | 578680a530e574bd8915249146c39661c73b960f (patch) | |
tree | 8d8fbdbdc308446c986195112f91aee13b20a467 /.gitlab-ci.yml | |
parent | 68d042742a9a53cd05431a244b91ca4c6ed55051 (diff) | |
download | gstreamer-578680a530e574bd8915249146c39661c73b960f.tar.gz |
ci: Move MESON_GST_WERROR string into a meson machine file
It's both easier to use that way and we can also reuse it when
building locally.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/4281>
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r-- | .gitlab-ci.yml | 19 |
1 files changed, 1 insertions, 18 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index f27759f089..671eeda8c7 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -64,23 +64,6 @@ variables: -Dgst-omx:target=generic -Ddoc=disabled - MESON_GST_WERROR: > - -Dgstreamer:werror=true - -Dgst-plugins-base:werror=true - -Dgst-plugins-good:werror=true - -Dgst-plugins-ugly:werror=true - -Dgst-plugins-bad:werror=true - -Dgst-rtsp-server:werror=true - -Dgst-libav:werror=true - -Dgst-examples:werror=true - -Dgst-editing-services:werror=true - -Dgst-docs:werror=true - -Dgst-omx:werror=true - -Dgst-devtools:werror=true - -Dgst-python:werror=true - -Dgstreamer-vaapi:werror=true - -Dgstreamer-sharp:werror=true - workflow: # https://docs.gitlab.com/ee/ci/yaml/index.html#switch-between-branch-pipelines-and-merge-request-pipelines rules: @@ -269,7 +252,7 @@ commitlint: - export ARGS="--default-library=${BUILD_TYPE:-both} -Dgstreamer:gst_debug=${BUILD_GST_DEBUG:-true} ${MESON_ARGS}" - |- if [ $GST_WERROR == "true" ]; then - export ARGS="$ARGS $MESON_GST_WERROR" + export ARGS="$ARGS --native-file ./ci/meson/gst-werror.ini" fi - echo $ARGS - date -R |