2019-09-12 17:16:20 +00:00
|
|
|
image:
|
|
|
|
- Visual Studio 2017
|
|
|
|
- ubuntu
|
2019-09-10 22:07:02 +00:00
|
|
|
|
|
|
|
install:
|
2019-09-12 17:16:20 +00:00
|
|
|
- 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
|
2019-09-12 21:48:35 +00:00
|
|
|
- sh: sudo apt-get update
|
|
|
|
- sh: sudo apt-get install -y libspeechd-dev
|
2019-09-12 17:16:20 +00:00
|
|
|
- cmd: set PATH=%PATH%;%USERPROFILE%\.cargo\bin
|
2019-09-12 21:23:00 +00:00
|
|
|
- sh: source $HOME/.cargo/env
|
2019-09-10 22:07:02 +00:00
|
|
|
- rustc -vV
|
|
|
|
- cargo -vV
|
|
|
|
|
|
|
|
build: false
|
|
|
|
|
|
|
|
test_script:
|
2019-09-10 22:28:20 +00:00
|
|
|
- cargo build --release
|
2019-09-13 15:40:45 +00:00
|
|
|
# - cmd: mkdir -p staging\godot-tts\target\release
|
2019-09-12 17:16:20 +00:00
|
|
|
- cmd: copy target\release\*.dll staging\godot-tts\target\release
|
2019-09-13 14:04:09 +00:00
|
|
|
# - cmd: cd staging
|
|
|
|
# - cmd: 7z a ../windows.zip *
|
|
|
|
- sh: cp godot-tts.gdn* staging/godot-tts
|
|
|
|
- sh: cp target/release/libgodot_tts.so target/godot-tts/target/release
|
|
|
|
- sh: cd target
|
|
|
|
- sh: zip -r9 godot-tts.zip godot-tts/
|
|
|
|
- sh: appveyor PushArtifact godot-tts.zip
|
|
|
|
|
|
|
|
cache:
|
2019-09-13 14:39:51 +00:00
|
|
|
- target
|
2019-09-13 14:04:09 +00:00
|
|
|
- staging
|