diff options
author | Clement Tsang <34804052+ClementTsang@users.noreply.github.com> | 2022-10-12 17:45:45 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-12 17:45:45 -0400 |
commit | 577165292c7f58d8ca10c56f787180f690136fd0 (patch) | |
tree | 85b825eaaf1a0cc1702cd4ea3592dd29c6afeaa0 /.cirrus.yml | |
parent | 2a740f48f79498e6a812670176c45c53e0383c05 (diff) |
ci: add basic Cirrus CI testing for FreeBSD + M1 (#826)
Diffstat (limited to '.cirrus.yml')
-rw-r--r-- | .cirrus.yml | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/.cirrus.yml b/.cirrus.yml new file mode 100644 index 00000000..02f24957 --- /dev/null +++ b/.cirrus.yml @@ -0,0 +1,31 @@ +task: + name: FreeBSD 13 Test + freebsd_instance: + image_family: freebsd-13-1 + setup_script: + - pkg install -y curl + - curl https://sh.rustup.rs -sSf --output rustup.sh + - sh rustup.sh --default-toolchain stable -y + - . $HOME/.cargo/env + test_script: + - . $HOME/.cargo/env + - cargo fmt --all -- --check + - cargo test --no-run --locked + - cargo test --no-fail-fast -- --nocapture --quiet + - cargo clippy --all-targets --workspace -- -D warnings + +task: + name: macOS M1 Test + freebsd_instance: + image: ghcr.io/cirruslabs/macos-monterey-base:latest + setup_script: + - pkg install -y curl + - curl https://sh.rustup.rs -sSf --output rustup.sh + - sh rustup.sh --default-toolchain stable -y + - . $HOME/.cargo/env + test_script: + - . $HOME/.cargo/env + - cargo fmt --all -- --check + - cargo test --no-run --locked + - cargo test --no-fail-fast -- --nocapture --quiet + - cargo clippy --all-targets --workspace -- -D warnings |