speech-dispatcher-rs/.gitlab-ci.yml

24 lines
454 B
YAML

image: rust
stages:
- test
- publish
before_script:
- apt-get update
- apt-get install -y libspeechd-dev llvm-dev libclang-dev clang
test:
stage: test
script:
- cargo test --no-default-features
publish:
stage: publish
script:
- cargo login $CARGO_TOKEN
- cargo publish --manifest-path speech-dispatcher-sys/Cargo.toml || true
- cargo publish --no-default-features --manifest-path speech-dispatcher/Cargo.toml
only:
- tags