mirror of https://github.com/Tim-Paik/neutauri.git
update drone ci
This commit is contained in:
parent
1054231a72
commit
5727f6b96f
21
.drone.yml
21
.drone.yml
|
@ -1,6 +1,6 @@
|
|||
kind: pipeline
|
||||
type: docker
|
||||
name: default
|
||||
name: build
|
||||
|
||||
steps:
|
||||
- name: build
|
||||
|
@ -27,4 +27,21 @@ steps:
|
|||
- sha256
|
||||
when:
|
||||
event:
|
||||
- tag
|
||||
- tag
|
||||
|
||||
---
|
||||
|
||||
kind: pipeline
|
||||
type: docker
|
||||
name: clippy
|
||||
|
||||
steps:
|
||||
- name: clippy
|
||||
image: ubuntu:latest
|
||||
commands:
|
||||
- echo '========Install the necessary environment========'
|
||||
- apt update && apt install -y curl gcc git libwebkit2gtk-4.0-dev libappindicator3-dev
|
||||
- echo '========Install the Rust toolchain========'
|
||||
- curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- --default-toolchain stable -c clippy -y
|
||||
- echo '========Run Cargo Clippy========'
|
||||
- $HOME/.cargo/bin/cargo clippy
|
||||
|
|
Loading…
Reference in New Issue