mirror of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
synced 2025-03-28 11:35:33 +00:00
Update travis with slomo GStreamer version
Copy from https://github.com/sdroege/gst-plugin-rs/blob/master/.travis.yml
This commit is contained in:
parent
56befc7f08
commit
00df152210
1 changed files with 11 additions and 2 deletions
13
.travis.yml
13
.travis.yml
|
@ -11,11 +11,20 @@ addons:
|
|||
- gstreamer1.0-plugins-bad
|
||||
- gstreamer1.0-plugins-ugly
|
||||
- gstreamer1.0-libav
|
||||
before_install:
|
||||
- curl -kLO https://slepin.fr/obs-ndi/ci/ndisdk-slim-v3.5-linux.zip -f --retry 5 && unzip ./ndisdk-slim-v3.5-linux.zip && rm ./ndisdk-slim-v3.5-linux.zip
|
||||
- sudo cp ndisdk/lib/x86_64-linux-gnu/libndi.so.3.5.1 /usr/local/lib/libndi.so && sudo ldconfig
|
||||
- curl -L https://people.freedesktop.org/~slomo/gstreamer-1.14.3.tar.gz | tar xz
|
||||
- sed -i "s;prefix=/root/gstreamer;prefix=$PWD/gstreamer;g" $PWD/gstreamer/lib/x86_64-linux-gnu/pkgconfig/*.pc
|
||||
- export PKG_CONFIG_PATH=$PWD/gstreamer/lib/x86_64-linux-gnu/pkgconfig
|
||||
- export GST_PLUGIN_SYSTEM_PATH=$PWD/gstreamer/lib/x86_64-linux-gnu/gstreamer-1.0
|
||||
- export GST_PLUGIN_SCANNER=$PWD/gstreamer/libexec/gstreamer-1.0/gst-plugin-scanner
|
||||
- export PATH=$PATH:$PWD/gstreamer/bin
|
||||
- export LD_LIBRARY_PATH=$PWD/gstreamer/lib/x86_64-linux-gnu:$LD_LIBRARY_PATH
|
||||
install:
|
||||
- rustup component add rustfmt-preview
|
||||
- rustup component add clippy-preview
|
||||
- curl -kLO https://slepin.fr/obs-ndi/ci/ndisdk-slim-v3.5-linux.zip -f --retry 5 && unzip ./ndisdk-slim-v3.5-linux.zip
|
||||
script:
|
||||
- cargo fmt -- --check
|
||||
- touch ./src/*.rs && cargo clippy -- -D warnings
|
||||
- touch ./src/*.rs && cargo clippy -- -A cast_ptr_alignment -A new_ret_no_self
|
||||
- cargo build
|
Loading…
Reference in a new issue