mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer-rs.git
synced 2024-09-24 13:00:27 +00:00
CARGO_HOME's semantic depends on when it's used in the pipeline: - it's the install prefix when installing Cargo - it's the crate cache location when building jobs env.sh is sourced at the start of all jobs and was overidding the CARGO_HOME path defined in the CI template for caching. Fix this by moving the prefix install path to install-rust.sh.
8 lines
403 B
Bash
8 lines
403 B
Bash
export RUSTUP_HOME='/usr/local/rustup'
|
|
export PATH=$PATH:/usr/local/cargo/bin
|
|
|
|
export PKG_CONFIG_PATH=/usr/local/lib/x86_64-linux-gnu/pkgconfig
|
|
export GST_PLUGIN_SYSTEM_PATH=/usr/local/lib/x86_64-linux-gnu/gstreamer-1.0
|
|
export GST_PLUGIN_SCANNER=/usr/local/libexec/gstreamer-1.0/gst-plugin-scanner
|
|
export PATH=$PATH:/usr/local/bin
|
|
export LD_LIBRARY_PATH=/usr/local/lib/x86_64-linux-gnu:$LD_LIBRARY_PATH
|