This commit is contained in:
parent
5f107cd337
commit
a53a430c23
10
.drone.yml
10
.drone.yml
@ -3,20 +3,20 @@ name: default
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: fmt
|
- name: fmt
|
||||||
image: rust:1.37.0
|
image: rust:1.43.0
|
||||||
commands:
|
commands:
|
||||||
- rustup component add rustfmt
|
- rustup component add rustfmt
|
||||||
- cargo fmt --all -- --check
|
- cargo fmt --all -- --check
|
||||||
- name: test
|
- name: test
|
||||||
image: rust:1.37.0
|
image: rust:1.43.0
|
||||||
commands:
|
commands:
|
||||||
- apt update && apt install -y libcryptsetup-dev libkeyutils-dev
|
- apt update && apt install -y libcryptsetup-dev libkeyutils-dev libclang-dev clang pkg-config
|
||||||
- cargo test
|
- cargo test
|
||||||
|
|
||||||
- name: build
|
- name: build
|
||||||
image: rust:1.37.0
|
image: rust:1.43.0
|
||||||
commands:
|
commands:
|
||||||
- apt update && apt install -y libcryptsetup-dev libkeyutils-dev
|
- apt update && apt install -y libcryptsetup-dev libkeyutils-dev libclang-dev clang pkg-config
|
||||||
- cargo install -f --path . --root .
|
- cargo install -f --path . --root .
|
||||||
when:
|
when:
|
||||||
event: tag
|
event: tag
|
||||||
|
Loading…
x
Reference in New Issue
Block a user