]> git.deb.at Git - rhonda/impostor.git/commitdiff
AppVeyor
authorAeonLucid <aeonlucid@gmail.com>
Wed, 14 Oct 2020 12:48:27 +0000 (14:48 +0200)
committerAeonLucid <aeonlucid@gmail.com>
Wed, 14 Oct 2020 12:48:27 +0000 (14:48 +0200)
appveyor.yml

index d25d177c2d6c8d99d6cb21b772dd3760ec3dfe52..4f40b3a65c79370fef94ae23e512ee748fa079e3 100644 (file)
@@ -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