@ -1,19 +1,33 @@
---
kind: pipeline
type: exec
name: test libpso
platform:
os: linux
arch: amd64
type: docker
steps:
- name: get rust
commands:
- rustup default nightly
- name: cargo build
image: rustlang/rust:nightly
volumes:
- name: cache
path: /usr/local/cargo
- name: target-cache
path: /drone/src/target
- cargo build
- name: cargo test
- cargo test
host:
path: /home/drone/.cargo
path: /home/drone/cargo-cache