Sebastian Dröge 2022-12-03 19:55:41 +02:00 committed by GStreamer Marge Bot
parent aa2abc50bf
commit e6fa7c0b2b

View file

@ -316,48 +316,49 @@ documentation:
when: 'manual' when: 'manual'
# build gst-plugins-rs as a gst-build subproject # build gst-plugins-rs as a gst-build subproject
gst-build: # Disabled because of https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/issues/262
extends: .meson #gst-build:
rules: # extends: .meson
- if: '$CI_PIPELINE_SOURCE == "schedule"' # rules:
- if: $CI_PIPELINE_SOURCE == "merge_request_event" # - if: '$CI_PIPELINE_SOURCE == "schedule"'
when: 'manual' # - if: $CI_PIPELINE_SOURCE == "merge_request_event"
allow_failure: true # when: 'manual'
variables: # allow_failure: true
MESON_ARGS: > # variables:
-Domx=disabled # MESON_ARGS: >
-Dpython=disabled # -Domx=disabled
-Dlibav=disabled # -Dpython=disabled
-Dlibnice=disabled # -Dlibav=disabled
-Dugly=disabled # -Dlibnice=disabled
-Dbad=disabled # -Dugly=disabled
-Ddevtools=disabled # -Dbad=disabled
-Dges=disabled # -Ddevtools=disabled
-Drtsp_server=disabled # -Dges=disabled
-Dvaapi=disabled # -Drtsp_server=disabled
-Dsharp=disabled # -Dvaapi=disabled
-Dgst-examples=disabled # -Dsharp=disabled
-Drs=enabled # -Dgst-examples=disabled
-Dgst-plugins-rs:sodium=system # -Drs=enabled
script: # -Dgst-plugins-rs:sodium=system
- P=$(pwd) # script:
- cd .. # - P=$(pwd)
- rm -rf gstreamer # - cd ..
- git clone --depth 1 https://gitlab.freedesktop.org/gstreamer/gstreamer.git --branch main # - rm -rf gstreamer
- cd gstreamer # - git clone --depth 1 https://gitlab.freedesktop.org/gstreamer/gstreamer.git --branch main
- ln -s $P subprojects/gst-plugins-rs # - cd gstreamer
- meson build $MESON_ARGS # - ln -s $P subprojects/gst-plugins-rs
- ninja -C build # - meson build $MESON_ARGS
# Check static Rust plugins can be linked into gst-full # - ninja -C build
- meson build-gst-full --default-library=static $MESON_ARGS # # Check static Rust plugins can be linked into gst-full
- ninja -C build-gst-full # - meson build-gst-full --default-library=static $MESON_ARGS
- meson devenv -C build-gst-full ./gst-inspect-1.0 rsaudiofx # - ninja -C build-gst-full
artifacts: # - meson devenv -C build-gst-full ./gst-inspect-1.0 rsaudiofx
expire_in: '7 days' # artifacts:
when: always # expire_in: '7 days'
paths: # when: always
- 'build/meson-logs/' # paths:
- 'build-gst-full/meson-logs/' # - 'build/meson-logs/'
# - 'build-gst-full/meson-logs/'
.msvc2019 build: .msvc2019 build:
stage: 'test' stage: 'test'