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.
33 lines
550 B
33 lines
550 B
---
|
|
kind: pipeline
|
|
type: docker
|
|
name: test libpso
|
|
|
|
steps:
|
|
- name: cargo build
|
|
image: rustlang/rust:nightly
|
|
volumes:
|
|
- name: cache
|
|
path: /usr/local/cargo
|
|
- name: target-cache
|
|
path: /drone/src/target
|
|
commands:
|
|
- cargo build
|
|
- name: cargo test
|
|
image: rustlang/rust:nightly
|
|
volumes:
|
|
- name: cache
|
|
path: /usr/local/cargo
|
|
- name: target-cache
|
|
path: /drone/src/target
|
|
commands:
|
|
- cargo test
|
|
|
|
volumes:
|
|
- name: cache
|
|
host:
|
|
path: /home/drone/.cargo
|
|
- name: target-cache
|
|
host:
|
|
path: /home/drone/cargo-cache
|
|
|