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
|
2020-10-06 19:14:23 +03:00
|
|
|
- curl https://sh.rustup.rs -sSf > /tmp/rustup.sh
|
|
|
|
- chmod +x /tmp/rustup.sh
|
2021-05-22 06:13:15 +03:00
|
|
|
- RUSTUP_IO_THREADS=1 /tmp/rustup.sh -y -q
|
2021-03-29 06:37:09 +03:00
|
|
|
- env PATH=$HOME/.cargo/bin:$PATH bash get-deps
|
2021-09-27 08:14:06 +03:00
|
|
|
- mkdir -p /run/sshd
|
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
|