From d70f715616f37285aee7d6e54265b001154a1361 Mon Sep 17 00:00:00 2001 From: Lucas Nicodemus Date: Tue, 7 Dec 2021 21:02:19 -0800 Subject: [PATCH] Add AppVeyor CI Because we're adding otapi3 on a different branch it is now necessary to have the appveyor CI config versioned so that the other branch can have its own build routine. --- appveyor.yml | 56 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 56 insertions(+) create mode 100644 appveyor.yml diff --git a/appveyor.yml b/appveyor.yml new file mode 100644 index 00000000..245dbcdc --- /dev/null +++ b/appveyor.yml @@ -0,0 +1,56 @@ +version: '{build}' +max_jobs: 16 +image: Visual Studio 2019 +build_script: +- ps: >- + git submodule update --init --recursive + + cd ./TerrariaServerAPI/ + + + nuget restore TShock.4.OTAPI.sln + + msbuild TShock.4.OTAPI.sln /p:Configuration=Debug + + + cd ./TShock.Modifications.Bootstrapper/bin/Debug/ + + + ./TShock.Modifications.Bootstrapper.exe + + + cd ../../../ + + + msbuild ./TerrariaServerAPI/TerrariaServerAPI.csproj /p:Configuration=Debug + + + msbuild TShock.4.OTAPI.sln /p:Configuration=Release + + + cd ./TShock.Modifications.Bootstrapper/bin/Release/ + + + ./TShock.Modifications.Bootstrapper.exe + + + cd ../../../ + + + msbuild ./TerrariaServerAPI/TerrariaServerAPI.csproj /p:Configuration=Release + + + cd ../ + + + nuget restore TShock.sln + + + msbuild ./TShockAPI/TShockAPI.csproj /p:Configuration=Release + + msbuild ./TShockAPI/TShockAPI.csproj /p:Configuration=Debug +artifacts: +- path: ./TShockAPI/bin/Debug/ + name: TShockAVDebug +- path: ./TShockAPI/bin/Release/ + name: TShockAVRelease