mirror of
https://github.com/ndarilek/tts-rs.git
synced 2024-11-17 11:49:37 +00:00
Add CI configuration.
This commit is contained in:
parent
8ee3015d7f
commit
d918602c85
24
.gitlab-ci.yml
Normal file
24
.gitlab-ci.yml
Normal file
|
@ -0,0 +1,24 @@
|
|||
image: rust
|
||||
|
||||
stages:
|
||||
- test
|
||||
- publish
|
||||
|
||||
before_script:
|
||||
- apt-get update
|
||||
- apt-get install -y libclang-3.9-dev libspeechd-dev
|
||||
- export CPATH=/usr/lib/llvm-3.9/lib/clang/3.9.1/include/
|
||||
|
||||
test:
|
||||
stage: test
|
||||
script:
|
||||
- cargo test
|
||||
|
||||
publish:
|
||||
stage: publish
|
||||
script:
|
||||
- cargo login $CARGO_TOKEN
|
||||
- cargo package
|
||||
- cargo publish
|
||||
only:
|
||||
- tags
|
Loading…
Reference in New Issue
Block a user