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-12 17:16:20 +00:00
|
|
|
- cmd: mkdir -p staging\godot-tts\target\release
|
|
|
|
- cmd: copy target\release\*.dll staging\godot-tts\target\release
|
|
|
|
- cmd: cd staging
|
2019-09-12 22:04:52 +00:00
|
|
|
- cmd: 7z a ../%PROJECT_NAME%-windows.zip *
|
|
|
|
- cmd: appveyor PushArtifact ../%PROJECT_NAME%-windows.zip
|