mirror of
https://github.com/lightsoutgames/godot-tts
synced 2024-11-22 19:35:56 +00:00
Try using artifacts for bundling binaries.
This commit is contained in:
parent
23f5fc498b
commit
04b75f505e
|
@ -1,22 +1,33 @@
|
||||||
image: rust
|
|
||||||
|
|
||||||
stages:
|
stages:
|
||||||
- build
|
- build
|
||||||
- publish
|
- publish
|
||||||
|
|
||||||
before_script:
|
build linux:
|
||||||
|
stage: build
|
||||||
|
image: rust
|
||||||
|
script:
|
||||||
- apt-get update
|
- apt-get update
|
||||||
- apt-get install -y libclang-3.9-dev libspeechd-dev
|
- apt-get install -y libclang-3.9-dev libspeechd-dev
|
||||||
- export CPATH=/usr/lib/llvm-3.9/lib/clang/3.9.1/include/
|
- export CPATH=/usr/lib/llvm-3.9/lib/clang/3.9.1/include/
|
||||||
|
|
||||||
build linux:
|
|
||||||
stage: build
|
|
||||||
script:
|
|
||||||
- cargo build --release
|
- cargo build --release
|
||||||
|
- mv target linux
|
||||||
|
artifacts:
|
||||||
|
paths:
|
||||||
|
- linux
|
||||||
|
expire_in: 1 day
|
||||||
|
|
||||||
publish:
|
publish:
|
||||||
stage: publish
|
stage: publish
|
||||||
script:
|
script:
|
||||||
- cp godot-tts.gdnlib.release godot-tts.gdnlib
|
- cp godot-tts.gdnlib.release godot-tts.gdnlib
|
||||||
only:
|
- mkdir -p target/release
|
||||||
- tags
|
- 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
|
||||||
|
|
Loading…
Reference in New Issue
Block a user