Add Cirrus CI for FreeBSD build
This commit is contained in:
parent
bcbde66a5b
commit
04426957d8
1 changed files with 24 additions and 0 deletions
24
.cirrus.yml
Normal file
24
.cirrus.yml
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
task:
|
||||
name: stable-x86_64-unknown-freebsd
|
||||
freebsd_instance:
|
||||
matrix:
|
||||
- image: freebsd-12-0-release-amd64
|
||||
- image: freebsd-11-2-release-amd64
|
||||
env:
|
||||
RUST_BACKTRACE: 1
|
||||
setup_script:
|
||||
- pkg install -y curl git
|
||||
- curl https://sh.rustup.rs -sSf --output rustup.sh
|
||||
- sh rustup.sh -y
|
||||
- . $HOME/.cargo/env
|
||||
check_script:
|
||||
- . $HOME/.cargo/env
|
||||
- cargo check --all-targets
|
||||
build_script:
|
||||
- . $HOME/.cargo/env
|
||||
- cargo build --all-targets --verbose
|
||||
test_script:
|
||||
- . $HOME/.cargo/env
|
||||
- cargo test --examples
|
||||
- cargo test --doc
|
||||
- cargo test --lib
|
||||
Loading…
Add table
Reference in a new issue