From 364606f7e90d1fdd2009e2432c45bfe522e48f2a Mon Sep 17 00:00:00 2001 From: Hunter Date: Thu, 9 Nov 2017 17:50:37 -0500 Subject: [PATCH] Create Appveyor config for automated CI testing --- appveyor.yml | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 appveyor.yml diff --git a/appveyor.yml b/appveyor.yml new file mode 100644 index 0000000..7ea1f7d --- /dev/null +++ b/appveyor.yml @@ -0,0 +1,29 @@ +version: '{build}' +install: +- cmd: >- + mkdir thirdparty + + cd thirdparty + + set CMAKE_URL="https://cmake.org/files/v3.8/cmake-3.8.0-win64-x64.zip" + + appveyor DownloadFile %CMAKE_URL% -FileName cmake.zip + + 7z x cmake.zip -o%cd% > nul + + move cmake-* cmake + + set PATH=%cd%\cmake\bin;%PATH% + + cmake --version + + cd .. +build_script: +- cmd: >- + mkdir build + + cd build + + cmake .. -DCMAKE_INSTALL_PREFIX="C:\Program Files (x86)\DiscordRPC" + + cmake --build . --config Release --target install