drone_container (#2)

This commit is contained in:
jake 2019-09-11 00:26:15 -04:00 committed by Gogs
parent a756af5f30
commit 1cd790a3e6

View File

@ -1,19 +1,33 @@
---
kind: pipeline
type: exec
name: test libpso
platform:
os: linux
arch: amd64
type: docker
name: test libpso
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
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