drone_container (#2)
This commit is contained in:
parent
a756af5f30
commit
1cd790a3e6
30
.drone.yml
30
.drone.yml
@ -1,19 +1,33 @@
|
|||||||
---
|
---
|
||||||
kind: pipeline
|
kind: pipeline
|
||||||
type: exec
|
type: docker
|
||||||
name: test libpso
|
name: test libpso
|
||||||
|
|
||||||
platform:
|
|
||||||
os: linux
|
|
||||||
arch: amd64
|
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: get rust
|
|
||||||
commands:
|
|
||||||
- rustup default nightly
|
|
||||||
- name: cargo build
|
- name: cargo build
|
||||||
|
image: rustlang/rust:nightly
|
||||||
|
volumes:
|
||||||
|
- name: cache
|
||||||
|
path: /usr/local/cargo
|
||||||
|
- name: target-cache
|
||||||
|
path: /drone/src/target
|
||||||
commands:
|
commands:
|
||||||
- cargo build
|
- cargo build
|
||||||
- name: cargo test
|
- name: cargo test
|
||||||
|
image: rustlang/rust:nightly
|
||||||
|
volumes:
|
||||||
|
- name: cache
|
||||||
|
path: /usr/local/cargo
|
||||||
|
- name: target-cache
|
||||||
|
path: /drone/src/target
|
||||||
commands:
|
commands:
|
||||||
- cargo test
|
- cargo test
|
||||||
|
|
||||||
|
volumes:
|
||||||
|
- name: cache
|
||||||
|
host:
|
||||||
|
path: /home/drone/.cargo
|
||||||
|
- name: target-cache
|
||||||
|
host:
|
||||||
|
path: /home/drone/cargo-cache
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user