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 - rustup component add clippy rustfmt
- apt-get update -qq - apt-get update -qq
- apt-get install -qqy llvm-dev libclang-dev clang libspeechd-dev - apt-get install -qqy llvm-dev libclang-dev clang libspeechd-dev
- cargo fmt --check - cargo fmt --all --check
- cargo test - cargo test --no-default-features --features 0_10
- cargo clippy - cargo clippy --no-default-features --features 0_10
- name: release - name: release
image: rust image: rust
commands: commands:
- apt-get update -qq - apt-get update -qq
- apt-get install -qqy llvm-dev libclang-dev clang libspeechd-dev - apt-get install -qqy llvm-dev libclang-dev clang libspeechd-dev
- cargo publish --manifest-path speech-dispatcher-sys/Cargo.toml || true - cargo publish --no-default-features --features 0_10 --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/Cargo.toml
when: when:
ref: ref:
- refs/tags/v* - refs/tags/v*