-
Notifications
You must be signed in to change notification settings - Fork 123
/
.cirrus.yml
26 lines (25 loc) · 853 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
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 13.2
freebsd_instance:
image_family: freebsd-13-2-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"