This commit is contained in:
AeonLucid committed 2020-10-14 14:48:27 +02:00
1 parent 58eb0ebfa5
commit 0c6d3e4f4a
1 file changed
+11 -1
+11 -1
View 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