mirror of
https://github.com/lightsoutgames/godot-tts
synced 2024-11-22 13:45:57 +00:00
No more Appveyor.
This commit is contained in:
parent
4893bf7e10
commit
23f5fc498b
|
@ -1,7 +1,7 @@
|
||||||
image: rust
|
image: rust
|
||||||
|
|
||||||
stages:
|
stages:
|
||||||
- test
|
- build
|
||||||
- publish
|
- publish
|
||||||
|
|
||||||
before_script:
|
before_script:
|
||||||
|
@ -9,14 +9,14 @@ before_script:
|
||||||
- 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/
|
||||||
|
|
||||||
test linux:
|
build linux:
|
||||||
stage: test
|
stage: build
|
||||||
script:
|
script:
|
||||||
- cargo test
|
- cargo build --release
|
||||||
|
|
||||||
publish:
|
publish:
|
||||||
stage: publish
|
stage: publish
|
||||||
script:
|
script:
|
||||||
- echo Publishing.
|
- cp godot-tts.gdnlib.release godot-tts.gdnlib
|
||||||
only:
|
only:
|
||||||
- tags
|
- tags
|
||||||
|
|
30
appveyor.yml
30
appveyor.yml
|
@ -1,30 +0,0 @@
|
||||||
image:
|
|
||||||
- Visual Studio 2017
|
|
||||||
- ubuntu
|
|
||||||
|
|
||||||
install:
|
|
||||||
- cmd: appveyor DownloadFile https://win.rustup.rs/ -FileName rustup-init.exe
|
|
||||||
- cmd: rustup-init -y --default-toolchain stable --default-host x86_64-pc-windows-msvc
|
|
||||||
- sh: curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain stable --default-host x86_64-unknown-linux-gnu
|
|
||||||
- sh: sudo apt-get update
|
|
||||||
- sh: sudo apt-get install -y libspeechd-dev
|
|
||||||
- cmd: set PATH=%PATH%;%USERPROFILE%\.cargo\bin
|
|
||||||
- sh: source $HOME/.cargo/env
|
|
||||||
- rustc -vV
|
|
||||||
- cargo -vV
|
|
||||||
|
|
||||||
build: false
|
|
||||||
|
|
||||||
test_script:
|
|
||||||
- cargo build --release
|
|
||||||
- cmd: mkdir -p godot-tts\target\release
|
|
||||||
- cmd: copy target\release\*.dll godot-tts\target\release
|
|
||||||
- cmd: 7z a godot-tts-windows.zip godot-tts
|
|
||||||
- sh: cp godot-tts.gdns godot-tts
|
|
||||||
- sh: cp godot-tts.gdnlib.release godot-tts/godot-tts.gdnlib
|
|
||||||
- sh: cp target/release/*.so godot-tts/target/release
|
|
||||||
- sh: zip -r9 godot-tts.zip godot-tts/
|
|
||||||
- sh: appveyor PushArtifact godot-tts.zip
|
|
||||||
|
|
||||||
cache:
|
|
||||||
- target
|
|
Loading…
Reference in New Issue
Block a user