summaryrefslogtreecommitdiffstats
path: root/third_party/rust/cubeb-pulse/.travis.yml
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-28 14:29:10 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-28 14:29:10 +0000
commit2aa4a82499d4becd2284cdb482213d541b8804dd (patch)
treeb80bf8bf13c3766139fbacc530efd0dd9d54394c /third_party/rust/cubeb-pulse/.travis.yml
parentInitial commit. (diff)
downloadfirefox-2aa4a82499d4becd2284cdb482213d541b8804dd.tar.xz
firefox-2aa4a82499d4becd2284cdb482213d541b8804dd.zip
Adding upstream version 86.0.1.upstream/86.0.1upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'third_party/rust/cubeb-pulse/.travis.yml')
-rw-r--r--third_party/rust/cubeb-pulse/.travis.yml70
1 files changed, 70 insertions, 0 deletions
diff --git a/third_party/rust/cubeb-pulse/.travis.yml b/third_party/rust/cubeb-pulse/.travis.yml
new file mode 100644
index 0000000000..e1f5524c3e
--- /dev/null
+++ b/third_party/rust/cubeb-pulse/.travis.yml
@@ -0,0 +1,70 @@
+language: rust
+cache: cargo
+notifications:
+ email:
+ on_success: never
+
+rust:
+# Version 1.36 is the minimum version of rust supported by Gecko.
+- 1.36.0
+- stable
+- nightly
+
+env:
+# default jobs with and without optional features.
+-
+- FEATURES=pulse-dlopen
+
+# Invoke cargo with optional target or features switches.
+script: >
+ cargo test
+ ${TARGET:+--target ${TARGET}}
+ ${FEATURES:+--features ${FEATURES}}
+
+# Install cross target if necessary.
+before_install:
+ if test -n "${TARGET}"; then rustup target add ${TARGET}; fi
+
+addons: &apt_64
+ apt:
+ packages:
+ - libpulse-dev
+
+matrix:
+ include:
+ # Add in 32-bit builds
+ - rust: 1.36.0
+ env:
+ - TARGET=i686-unknown-linux-gnu
+ addons: &apt_32
+ apt:
+ packages:
+ - gcc-multilib
+ - g++-multilib
+ - libpulse-dev:i386
+ - libglib2.0-dev:i386
+ - rust: 1.36.0
+ env:
+ - TARGET=i686-unknown-linux-gnu
+ - FEATURES=pulse-dlopen
+ addons: *apt_32
+ - rust: stable
+ env:
+ - TARGET=i686-unknown-linux-gnu
+ addons: *apt_32
+ - rust: stable
+ env:
+ - TARGET=i686-unknown-linux-gnu
+ - FEATURES=pulse-dlopen
+ addons: *apt_32
+ - rust: nightly
+ env:
+ - TARGET=i686-unknown-linux-gnu
+ addons: *apt_32
+ - rust: nightly
+ env:
+ - TARGET=i686-unknown-linux-gnu
+ - FEATURES=pulse-dlopen
+ addons: *apt_32
+ allow_failures:
+ - rust: nightly