Update AppVeyor CI script for .NET 6
This commit is contained in:
parent
deac238ea3
commit
503b1c647b
1 changed files with 5 additions and 46 deletions
51
appveyor.yml
51
appveyor.yml
|
|
@ -1,56 +1,15 @@
|
||||||
version: '{build}'
|
version: '{build}'
|
||||||
max_jobs: 16
|
max_jobs: 16
|
||||||
image: Visual Studio 2019
|
image: Visual Studio 2022
|
||||||
build_script:
|
build_script:
|
||||||
- ps: >-
|
- ps: >-
|
||||||
git submodule update --init --recursive
|
git submodule update --init --recursive
|
||||||
|
|
||||||
cd ./TerrariaServerAPI/
|
dotnet nuget add source https://pkgs.dev.azure.com/MonoMod/MonoMod/_packaging/DevBuilds%40Local/nuget/v3/index.json -n DevBuilds@Local
|
||||||
|
|
||||||
|
dotnet build TShock.sln
|
||||||
|
|
||||||
nuget restore TShock.4.OTAPI.sln
|
dotnet test
|
||||||
|
|
||||||
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:
|
artifacts:
|
||||||
- path: ./TShockAPI/bin/Debug/
|
- path: ./TShockLauncher/bin/Debug/net6.0
|
||||||
name: TShockAVDebug
|
name: TShockAVDebug
|
||||||
- path: ./TShockAPI/bin/Release/
|
|
||||||
name: TShockAVRelease
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue