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:37:46 +00:00
|
|
|
- sh: apt-get update
|
|
|
|
- sh: 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-12 17:04:27 +00:00
|
|
|
- cargo build
|
2019-09-10 22:28:20 +00:00
|
|
|
|
|
|
|
before_deploy:
|
|
|
|
- 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
|
|
|
|
- cmd: 7z a ../%PROJECT_NAME%.zip *
|
|
|
|
- cmd: appveyor PushArtifact ../%PROJECT_NAME%.zip
|