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.
This commit is contained in:
parent
f3b1a84821
commit
d70f715616
1 changed files with 56 additions and 0 deletions
56
appveyor.yml
Normal file
56
appveyor.yml
Normal file
|
|
@ -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
|
||||
Loading…
Add table
Add a link
Reference in a new issue