2023-06-28 17:39:15 +02:00
|
|
|
task:
|
2023-06-30 10:56:37 +02:00
|
|
|
name: test [ARM]
|
2023-06-28 17:39:15 +02:00
|
|
|
arm_container:
|
2023-06-30 10:56:37 +02:00
|
|
|
image: rust:1.63.0
|
|
|
|
cpu: 8
|
|
|
|
memory: 8G
|
|
|
|
registry_cache:
|
|
|
|
folder: $CARGO_HOME/registry
|
|
|
|
fingerprint_script: cat Cargo.lock
|
|
|
|
target_cache:
|
|
|
|
folder: target
|
|
|
|
fingerprint_script:
|
|
|
|
- rustc --version
|
|
|
|
- cat Cargo.lock
|
|
|
|
build_script:
|
|
|
|
- apt-get update -qqy
|
|
|
|
- apt-get install -qqy clang
|
|
|
|
- rustup component add clippy rustfmt
|
|
|
|
- cargo check --all --locked
|
|
|
|
- cargo build --all --locked
|
2023-06-28 17:39:15 +02:00
|
|
|
test_script:
|
2023-06-30 10:56:37 +02:00
|
|
|
- cargo test --all --locked
|
|
|
|
- cargo clippy -- -D warnings
|
|
|
|
- cargo fmt --all -- --check
|
|
|
|
before_cache_script: rm -rf $CARGO_HOME/registry/index
|