From 503b1c647bbd198014ed7551b7eb4e7a00f28276 Mon Sep 17 00:00:00 2001 From: Lucas Nicodemus Date: Tue, 7 Dec 2021 21:23:41 -0800 Subject: [PATCH] Update AppVeyor CI script for .NET 6 --- appveyor.yml | 51 +++++---------------------------------------------- 1 file changed, 5 insertions(+), 46 deletions(-) diff --git a/appveyor.yml b/appveyor.yml index 245dbcdc..2a107cdb 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -1,56 +1,15 @@ version: '{build}' max_jobs: 16 -image: Visual Studio 2019 +image: Visual Studio 2022 build_script: - ps: >- 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 - - 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 + dotnet test artifacts: -- path: ./TShockAPI/bin/Debug/ +- path: ./TShockLauncher/bin/Debug/net6.0 name: TShockAVDebug -- path: ./TShockAPI/bin/Release/ - name: TShockAVRelease