You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

28 lines
451 B

kind: pipeline
type: docker
name: default
steps:
- name: build
image: rust:1.77
commands:
- cargo build
volumes: &caches
- name: cargo-cache
path: /cache/cargo
environment: &env
CARGO_HOME: /cache/cargo
- name: test
image: rust:1.77
commands:
- cargo test --all-features
volumes: *caches
environment: *env
depends_on:
- build
volumes:
- name: cargo-cache
temp: {}