godot-tts/appveyor.yml
2019-09-27 13:03:19 -05:00

31 lines
983 B
YAML

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