From 23f5fc498b845a10ba08f25433ad451f30703af2 Mon Sep 17 00:00:00 2001 From: Nolan Darilek Date: Fri, 4 Oct 2019 10:09:30 -0500 Subject: [PATCH] No more Appveyor. --- .gitlab-ci.yml | 10 +++++----- appveyor.yml | 30 ------------------------------ 2 files changed, 5 insertions(+), 35 deletions(-) delete mode 100644 appveyor.yml diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 6a8ca19..f163590 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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 diff --git a/appveyor.yml b/appveyor.yml deleted file mode 100644 index e5c56cb..0000000 --- a/appveyor.yml +++ /dev/null @@ -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