Update CI build configuration.
This commit is contained in:
parent
1c11f279ec
commit
89fcced31e
10
.drone.yml
10
.drone.yml
|
@ -9,16 +9,16 @@ steps:
|
|||
- rustup component add clippy rustfmt
|
||||
- apt-get update -qq
|
||||
- apt-get install -qqy llvm-dev libclang-dev clang libspeechd-dev
|
||||
- cargo fmt --check
|
||||
- cargo test
|
||||
- cargo clippy
|
||||
- cargo fmt --all --check
|
||||
- cargo test --no-default-features --features 0_10
|
||||
- cargo clippy --no-default-features --features 0_10
|
||||
- name: release
|
||||
image: rust
|
||||
commands:
|
||||
- apt-get update -qq
|
||||
- apt-get install -qqy llvm-dev libclang-dev clang libspeechd-dev
|
||||
- cargo publish --manifest-path speech-dispatcher-sys/Cargo.toml || true
|
||||
- cargo publish --manifest-path speech-dispatcher/Cargo.toml
|
||||
- cargo publish --no-default-features --features 0_10 --manifest-path speech-dispatcher-sys/Cargo.toml || true
|
||||
- cargo publish --no-default-features --features 0_10 --manifest-path speech-dispatcher/Cargo.toml
|
||||
when:
|
||||
ref:
|
||||
- refs/tags/v*
|
||||
|
|
Loading…
Reference in New Issue
Block a user