1
0
mirror of https://github.com/ndarilek/tts-rs.git synced 2024-10-31 23:39:36 +00:00
tts-rs/.gitlab-ci.yml

27 lines
451 B
YAML
Raw Normal View History

2019-09-10 14:57:18 +00:00
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 build
- rustup target add wasm32-unknown-unknown
- cargo build --target wasm32-unknown-unknown
2019-09-10 14:57:18 +00:00
publish:
stage: publish
script:
- cargo login $CARGO_TOKEN
- cargo package
- cargo publish
only:
- tags