Add drone runner
parent
aad97b3c74
commit
d4b8ed3c85
26
.drone.yml
26
.drone.yml
|
@ -1,24 +1,16 @@
|
|||
kind: pipeline
|
||||
type: docker
|
||||
name: default
|
||||
name: default
|
||||
|
||||
steps:
|
||||
- name: test
|
||||
image: rust:1.40
|
||||
image: rust:1.61
|
||||
commands:
|
||||
- apt update
|
||||
- apt install -y libsdl2-dev libsdl2-gfx-dev
|
||||
- cargo check --verbose --all
|
||||
- cargo test --verbose --all
|
||||
|
||||
- apt update
|
||||
- apt install -y libsdl2-dev libsdl2-gfx-dev libsdl2-mixer-dev cmake
|
||||
- cargo check --verbose --all
|
||||
- cargo test --verbose --all
|
||||
- name: rustfmt
|
||||
image: rust:1.40
|
||||
image: rust:1.61
|
||||
commands:
|
||||
- rustup component add rustfmt
|
||||
- cargo fmt --all -- --check
|
||||
|
||||
- name: clippy
|
||||
image: rust:1.40
|
||||
commands:
|
||||
- rustup component add clippy
|
||||
- cargo clippy --all
|
||||
- rustup component add rustfmt
|
||||
- cargo fmt --all -- --check
|
||||
|
|
Loading…
Reference in New Issue