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.
31 lines
496 B
31 lines
496 B
kind: pipeline
|
|
type: docker
|
|
name: default
|
|
|
|
steps:
|
|
- name: build
|
|
image: rust:1.67
|
|
commands:
|
|
- cargo build
|
|
volumes:
|
|
- name: cargo-cache
|
|
path: /cache/cargo
|
|
environment:
|
|
CARGO_HOME: /cache/cargo
|
|
|
|
- name: test
|
|
image: rust:1.67
|
|
commands:
|
|
- cargo test
|
|
volumes:
|
|
- name: cargo-cache
|
|
path: /cache/cargo
|
|
environment:
|
|
CARGO_HOME: /cache/cargo
|
|
depends_on:
|
|
- build
|
|
|
|
volumes:
|
|
- name: cargo-cache
|
|
temp: {}
|