.cirrus.yml 608 B

123456789101112131415161718192021222324
  1. task:
  2. name: stable-x86_64-unknown-freebsd
  3. freebsd_instance:
  4. matrix:
  5. - image: freebsd-12-0-release-amd64
  6. - image: freebsd-11-2-release-amd64
  7. env:
  8. RUST_BACKTRACE: 1
  9. setup_script:
  10. - pkg install -y curl git
  11. - curl https://sh.rustup.rs -sSf --output rustup.sh
  12. - sh rustup.sh -y
  13. - . $HOME/.cargo/env
  14. check_script:
  15. - . $HOME/.cargo/env
  16. - cargo check --all-targets
  17. build_script:
  18. - . $HOME/.cargo/env
  19. - cargo build --all-targets --verbose
  20. test_script:
  21. - . $HOME/.cargo/env
  22. - cargo test --examples
  23. - cargo test --doc
  24. - cargo test --lib