forked from Smithay/wayland-rs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.cirrus.yml
29 lines (28 loc) · 942 Bytes
/
.cirrus.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
env:
# Temporary workaround for error `error: sysinfo not supported on
# this platform` seen on FreeBSD platforms, affecting Rustup
#
# References: https://github.com/rust-lang/rustup/issues/2774
RUSTUP_IO_THREADS: 1
task:
only_if: $CIRRUS_BRANCH == 'master' || $CIRRUS_PR != ''
matrix:
- name: FreeBSD 12.1
freebsd_instance:
image_family: freebsd-12-1-snap
- name: FreeBSD 13.0
freebsd_instance:
image_family: freebsd-13-0-snap
# Install Rust
setup_script:
- fetch https://sh.rustup.rs -o rustup.sh
- sh rustup.sh -y --default-toolchain stable
- pkg install -y git wayland pkgconf
- git submodule update --init --recursive
test_script:
- . $HOME/.cargo/env
- mkdir -p $HOME/sockets
- export XDG_RUNTIME_DIR="$HOME/sockets"
- cargo test --workspace --exclude wayland-tests
- cd wayland-tests
- cargo test --features "client_system server_system"