2019-09-07 15:17:51 +00:00
|
|
|
stages:
|
2019-10-04 15:09:30 +00:00
|
|
|
- build
|
2019-09-07 15:17:51 +00:00
|
|
|
- publish
|
|
|
|
|
2019-10-04 15:09:30 +00:00
|
|
|
build linux:
|
|
|
|
stage: build
|
2019-10-04 16:16:57 +00:00
|
|
|
image: rust
|
2019-09-07 15:17:51 +00:00
|
|
|
script:
|
2019-10-04 16:16:57 +00:00
|
|
|
- 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/
|
2019-10-04 15:09:30 +00:00
|
|
|
- cargo build --release
|
2019-10-04 16:16:57 +00:00
|
|
|
- mv target linux
|
|
|
|
artifacts:
|
|
|
|
paths:
|
|
|
|
- linux
|
|
|
|
expire_in: 1 day
|
2019-09-07 15:17:51 +00:00
|
|
|
|
|
|
|
publish:
|
|
|
|
stage: publish
|
|
|
|
script:
|
2019-10-04 15:09:30 +00:00
|
|
|
- cp godot-tts.gdnlib.release godot-tts.gdnlib
|
2019-10-04 16:16:57 +00:00
|
|
|
- mkdir -p target/release
|
2019-10-04 16:33:13 +00:00
|
|
|
- ls
|
2019-10-04 16:16:57 +00:00
|
|
|
- cp linux/target/release/*.so target/release
|
|
|
|
artifacts:
|
|
|
|
name: $CI_JOB_NAME
|
|
|
|
paths:
|
|
|
|
- target
|
|
|
|
- TTS.gd
|
|
|
|
- godot-tts.gdnlib
|
|
|
|
- godot-tts.gdns
|
|
|
|
- LICENSE
|
|
|
|
expire_in: 1 day
|