forked from johalun/sysctl-rs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.cirrus.yml
42 lines (40 loc) · 1.29 KB
/
.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
30
31
32
33
34
35
36
37
38
39
40
41
42
task:
freebsd_instance:
matrix:
image: freebsd-12-0-release-amd64
image: freebsd-11-2-release-amd64
install_script: |
pkg install -y curl
curl https://sh.rustup.rs -sSf | sh -s -- -y
. $HOME/.cargo/env
cargo_cache:
folder: $CARGO_HOME/registry
build_script: env PATH="$HOME/.cargo/bin:$PATH" cargo build --all && cargo build --examples
test_script: env PATH="$HOME/.cargo/bin:$PATH" cargo test --all
before_cache_script: rm -rf $CARGO_HOME/registry/index
task:
osx_instance:
matrix:
image: mojave-base
image: high-sierra-base
install_script: |
curl https://sh.rustup.rs -sSf | sh -s -- -y
. $HOME/.cargo/env
cargo_cache:
folder: $CARGO_HOME/registry
build_script: env PATH="$HOME/.cargo/bin:$PATH" cargo build --all && cargo build --examples
test_script: env PATH="$HOME/.cargo/bin:$PATH" cargo test --all
before_cache_script: rm -rf $CARGO_HOME/registry/index
task:
matrix:
- container:
image: rust:latest
- allow_failures: true
container:
image: rustlang/rust:nightly
cargo_cache:
folder: $CARGO_HOME/registry
fingerprint_script: cat Cargo.lock
build_script: cargo build --all && cargo build --examples
test_script: cargo test --all
before_cache_script: rm -rf $CARGO_HOME/registry/index