Skip to content

Commit 47bc1db

Browse files
committed
Test FreeBSD on Cirrus CI
1 parent 87ecdaa commit 47bc1db

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

.cirrus.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
task:
2+
name: freebsd
3+
freebsd_instance:
4+
image: freebsd-12-1-release-amd64
5+
setup_rust_script:
6+
- pkg install -y curl git bash
7+
- curl https://sh.rustup.rs -sSf --output rustup.sh
8+
- sh rustup.sh --default-toolchain none -y --profile=minimal
9+
cargo_bin_cache:
10+
folder: ~/.cargo/bin
11+
target_cache:
12+
folder: target
13+
prepare_script:
14+
- . $HOME/.cargo/env
15+
- git config --global user.email "[email protected]"
16+
- git config --global user.name "User"
17+
- ./prepare.sh
18+
test_script:
19+
- . $HOME/.cargo/env
20+
- # Enable backtraces for easier debugging
21+
- export RUST_BACKTRACE=1
22+
- # Reduce amount of benchmark runs as they are slow
23+
- export COMPILE_RUNS=2
24+
- export RUN_RUNS=2
25+
- ./test.sh

0 commit comments

Comments
 (0)