No more Appveyor.

This commit is contained in:
Nolan Darilek 2019-10-04 10:09:30 -05:00
parent 4893bf7e10
commit 23f5fc498b
2 changed files with 5 additions and 35 deletions

View File

@ -1,7 +1,7 @@
image: rust
stages:
- test
- build
- publish
before_script:
@ -9,14 +9,14 @@ before_script:
- apt-get install -y libclang-3.9-dev libspeechd-dev
- export CPATH=/usr/lib/llvm-3.9/lib/clang/3.9.1/include/
test linux:
stage: test
build linux:
stage: build
script:
- cargo test
- cargo build --release
publish:
stage: publish
script:
- echo Publishing.
- cp godot-tts.gdnlib.release godot-tts.gdnlib
only:
- tags

View File

@ -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