parent
9cf41ad6ec
commit
e52acf2c11
19
.drone.yml
19
.drone.yml
|
@ -1,7 +1,11 @@
|
|||
|
||||
kind: pipeline
|
||||
name: default
|
||||
|
||||
trigger:
|
||||
event:
|
||||
include:
|
||||
- promote
|
||||
- pull_request
|
||||
steps:
|
||||
- name: test
|
||||
image: rust:latest
|
||||
|
@ -11,6 +15,10 @@ steps:
|
|||
- rustup component add clippy
|
||||
- cargo clippy
|
||||
- cargo test --all
|
||||
when:
|
||||
event:
|
||||
- pull_request
|
||||
|
||||
- name: deploy
|
||||
image: rust:latest
|
||||
commands:
|
||||
|
@ -32,7 +40,6 @@ steps:
|
|||
- staging
|
||||
- production
|
||||
|
||||
|
||||
---
|
||||
kind: pipeline
|
||||
name: windows-build
|
||||
|
@ -40,11 +47,19 @@ type: exec
|
|||
platform:
|
||||
os: windows
|
||||
arch: amd64
|
||||
trigger:
|
||||
event:
|
||||
include:
|
||||
- promote
|
||||
- pull_request
|
||||
steps:
|
||||
- name: test
|
||||
commands:
|
||||
- rustup default stable
|
||||
- cargo test
|
||||
when:
|
||||
event:
|
||||
- pull_request
|
||||
- name: deploy
|
||||
commands:
|
||||
- rustup default stable
|
||||
|
|
Loading…
Reference in New Issue