Update CI build configuration.

This commit is contained in:
Nolan Darilek 2022-11-22 13:55:55 -06:00
parent 1c11f279ec
commit 89fcced31e

View File

@ -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*