2020-09-09 07:48:00 +03:00
|
|
|
freebsd_instance:
|
|
|
|
image: freebsd-12-1-release-amd64
|
2020-09-09 19:14:21 +03:00
|
|
|
cpu: 4
|
|
|
|
memory: 8G
|
2020-09-09 07:48:00 +03:00
|
|
|
|
|
|
|
task:
|
|
|
|
name: freebsd-12
|
|
|
|
stateful: false
|
2021-02-07 20:51:55 +03:00
|
|
|
only_if: "changesInclude('**.toml', '**.rs', '.gitmodules', '.cirrus.yml', 'get-deps', 'Cargo.lock')"
|
2020-09-09 07:48:00 +03:00
|
|
|
setup_script:
|
|
|
|
- pkg install -y bash
|
|
|
|
- bash get-deps
|
2020-10-06 19:14:23 +03:00
|
|
|
- curl https://sh.rustup.rs -sSf > /tmp/rustup.sh
|
|
|
|
- chmod +x /tmp/rustup.sh
|
|
|
|
- /tmp/rustup.sh -y -q
|
2020-09-09 07:48:00 +03:00
|
|
|
test_script:
|
2020-10-06 19:53:45 +03:00
|
|
|
- env PATH=$HOME/.cargo/bin:$PATH cargo build --all --release
|
|
|
|
- env PATH=$HOME/.cargo/bin:$PATH cargo test --all --release
|