From 037f1fc079135740982ffc6f09186599fb9bf5c0 Mon Sep 17 00:00:00 2001 From: somewhatlurker <52014015+somewhatlurker@users.noreply.github.com> Date: Tue, 8 Oct 2019 15:32:34 +1100 Subject: [PATCH] add appveyor.yml --- appveyor.yml | 52 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) create mode 100644 appveyor.yml diff --git a/appveyor.yml b/appveyor.yml new file mode 100644 index 0000000..2a342b4 --- /dev/null +++ b/appveyor.yml @@ -0,0 +1,52 @@ +version: '{build}' +image: Visual Studio 2019 +configuration: +- Release +- Debug +platform: x64 +build: + project: source-code/PD-Loader.sln + verbosity: minimal +after_build: +- cmd: >- + md %TMP%\full\ + + md %TMP%\full\plugins\ + + md %TMP%\full\ram\ + + md %TMP%\full\ram\databank\ + + + md %TMP%\update\ + + md %TMP%\update\plugins\ + + + + copy %APPVEYOR_BUILD_FOLDER%\source-code\x64\%CONFIGURATION%\dnsapi.dll %TMP%\update\ + + copy %APPVEYOR_BUILD_FOLDER%\source-code\x64\%CONFIGURATION%\*.dva %TMP%\update\plugins\ + + + copy %APPVEYOR_BUILD_FOLDER%\source-code\x64\%CONFIGURATION%\dnsapi.dll %TMP%\full\ + + copy %APPVEYOR_BUILD_FOLDER%\source-code\x64\%CONFIGURATION%\*.dva %TMP%\full\plugins\ + + copy %APPVEYOR_BUILD_FOLDER%\source-code\data\glut32.dll %TMP%\full\ + + copy %APPVEYOR_BUILD_FOLDER%\source-code\data\plugins\*.* %TMP%\full\plugins\ + + copy %APPVEYOR_BUILD_FOLDER%\source-code\data\ram\databank\*.dat %TMP%\full\ram\databank\ + + + + cd %TMP%\full\ + + 7z a %APPVEYOR_BUILD_FOLDER%\PD-Loader-%CONFIGURATION%-AppVeyor.zip * + + cd %TMP%\update\ + + 7z a %APPVEYOR_BUILD_FOLDER%\PD-Loader-%CONFIGURATION%-Update-AppVeyor.zip * +artifacts: +- path: PD-Loader-*.zip \ No newline at end of file