| 1 |
env: |
| 2 |
RUST_BACKTRACE: 1 |
| 3 |
CARGO_INCREMENTAL: 0 |
| 4 |
CARGO_TERM_COLOR: always |
| 5 |
CARGO_REGISTRIES_CRATES_IO_PROTOCOL: sparse |
| 6 |
|
| 7 |
build_and_test: |
| 8 |
&BUILD_AND_TEST # only run tasks on pull request or github merge queue branches |
| 9 |
only_if: $CIRRUS_BRANCH =~ 'gh-readonly-queue/.*' || $CIRRUS_PR != "" |
| 10 |
setup_script: |
| 11 |
- curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain stable |
| 12 |
- rustup target add wasm32-wasip1 |
| 13 |
- python3 -m pip install --upgrade cffi virtualenv |
| 14 |
build_script: |
| 15 |
- cargo build |
| 16 |
test_script: |
| 17 |
- cargo test |
| 18 |
|
| 19 |
freebsd_task: |
| 20 |
name: Test (x86_64 FreeBSD) |
| 21 |
freebsd_instance: |
| 22 |
image_family: freebsd-14-2 |
| 23 |
env: |
| 24 |
PATH: $HOME/.cargo/bin:$PATH |
| 25 |
target_cache: |
| 26 |
folder: target |
| 27 |
fingerprint_script: |
| 28 |
- echo $CIRRUS_OS |
| 29 |
- cat Cargo.lock |
| 30 |
install_script: |
| 31 |
- pkg install -y bash git python |
| 32 |
- python3 -m ensurepip |
| 33 |
<<: *BUILD_AND_TEST |