From: AeonLucid Date: Wed, 14 Oct 2020 12:48:27 +0000 (+0200) Subject: AppVeyor X-Git-Tag: v1.2.2~113^2~5 X-Git-Url: https://git.deb.at/?a=commitdiff_plain;h=0c6d3e4f4ace9207ac27745fc6516c01e21e9b91;p=rhonda%2Fimpostor.git AppVeyor --- diff --git a/appveyor.yml b/appveyor.yml index d25d177..4f40b3a 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -39,11 +39,21 @@ build_script: - dotnet build "src/Impostor.Client/Impostor.Client.Cli/Impostor.Client.Cli.csproj" --no-restore -c Release -f net5.0 - dotnet build "src/Impostor.Client/Impostor.Client.WinForms/Impostor.Client.WinForms.csproj" /p:Configuration=Release /p:DebugSymbols=false /p:DebugType=None # Server win-x64 - - dotnet publish -c release -o ./build/win-x64 -f net5.0 -r win-x64 --self-contained --no-restore ./src/Impostor.Server/Impostor.Server.csproj /p:PublishSingleFile=true + - dotnet publish -c release -o build/win-x64 -f net5.0 -r win-x64 --self-contained --no-restore ./src/Impostor.Server/Impostor.Server.csproj /p:PublishSingleFile=true + - 7z a -r build/win-x64.zip %APPVEYOR_BUILD_FOLDER%/build/win-x64/* + # Server linux-x64 + - dotnet publish -c release -o ./build/linux-x64 -f net5.0 -r linux-x64 --self-contained --no-restore ./src/Impostor.Server/Impostor.Server.csproj /p:PublishSingleFile=true + - 7z a -r build/linux-x64.zip %APPVEYOR_BUILD_FOLDER%/build/linux-x64/* test_script: - dotnet test --no-build --no-restore -v normal -f net5.0 -c Release "src/Impostor.Tests" +artifacts: + - path: build/win-x64.zip + name: Impostor-Server-win-x64.zip + - path: build/linux-x64.zip + name: Impostor-Server-linux-x64.zip + only_commits: files: - appveyor.yml