From fa50b4e01638a309824a4aa0b424e647b56844f7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jozef=20Holl=C3=BD?= Date: Sun, 26 May 2019 13:31:27 +0200 Subject: [PATCH 1/4] publish single exe --- appveyor.yml | 31 ++++++++++++++++++------------- 1 file changed, 18 insertions(+), 13 deletions(-) diff --git a/appveyor.yml b/appveyor.yml index 0700c4c2..500a2a70 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -16,21 +16,26 @@ before_build: build: verbosity: minimal +after_build: + - ps: dotnet publish -c Release -o ./singleExe .\src\ModSink.WPF\ModSink.WPF.csproj + artifacts: -- path: src/ModSink.WPF/bin/Release/netcoreapp3.0 - name: ModSink.WPF + - path: src/ModSink.WPF/bin/Release/netcoreapp3.0 + name: ModSink.WPF + - path: singleExe/ModSink.WPF.exe + name: ModSink.WPF.exe test_script: -- cmd: dotnet test "src\ModSink.Common.Tests\ModSink.Common.Tests.csproj" --configuration Release --no-build /p:AltCover=true /p:AltCoverForce=true -- cmd: codecov -f "src\ModSink.Common.Tests\coverage.xml" -- cmd: dotnet test "src\ModSink.UI.Tests\ModSink.UI.Tests.csproj" --configuration Release --no-build /p:AltCover=true /p:AltCoverForce=true -- cmd: codecov -f "src\ModSink.UI.Tests\coverage.xml" + - cmd: dotnet test "src\ModSink.Common.Tests\ModSink.Common.Tests.csproj" --configuration Release --no-build /p:AltCover=true /p:AltCoverForce=true + - cmd: codecov -f "src\ModSink.Common.Tests\coverage.xml" + - cmd: dotnet test "src\ModSink.UI.Tests\ModSink.UI.Tests.csproj" --configuration Release --no-build /p:AltCover=true /p:AltCoverForce=true + - cmd: codecov -f "src\ModSink.UI.Tests\coverage.xml" deploy: -- provider: GitHub - auth_token: - secure: TLChfAMJcjhyw7dQ6WNllA/sc420Hq4fk9V9/VUD1kFOm4ZJpfiBlwaqdVRPbQeP - artifact: ModSink.WPF - prerelease: true - on: - branch: master + - provider: GitHub + auth_token: + secure: TLChfAMJcjhyw7dQ6WNllA/sc420Hq4fk9V9/VUD1kFOm4ZJpfiBlwaqdVRPbQeP + artifact: ModSink.WPF + prerelease: true + on: + branch: master From 349ce2f6c1e067b9694289b41b7fe392f3ce5837 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jozef=20Holl=C3=BD?= Date: Sun, 26 May 2019 13:40:40 +0200 Subject: [PATCH 2/4] Update ModSink.WPF.csproj --- src/ModSink.WPF/ModSink.WPF.csproj | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/ModSink.WPF/ModSink.WPF.csproj b/src/ModSink.WPF/ModSink.WPF.csproj index 8cdbe6a3..eae83c17 100644 --- a/src/ModSink.WPF/ModSink.WPF.csproj +++ b/src/ModSink.WPF/ModSink.WPF.csproj @@ -10,7 +10,8 @@ latest true modsink_x3S_icon.ico - AnyCPU + win10-x64 + true @@ -43,4 +44,4 @@ - \ No newline at end of file + From 4f91896b556c1809bb797cd167e16b07f4916a34 Mon Sep 17 00:00:00 2001 From: J2ghz Date: Fri, 31 May 2019 19:57:06 +0200 Subject: [PATCH 3/4] use cmd for better progress reporting problem: https://i.imgur.com/x6kAsO8.png --- appveyor.yml | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/appveyor.yml b/appveyor.yml index 500a2a70..5ba3edde 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -4,20 +4,20 @@ image: Visual Studio 2019 Preview configuration: Release install: - - ps: dotnet --info - - ps: choco install gitversion.portable -pre -y - - ps: choco install codecov + - dotnet --info + - choco install gitversion.portable -pre -y + - choco install codecov before_build: - - ps: gitversion /l console /output buildserver /updateAssemblyInfo /diag - - ps: msbuild /t:Clean /v:m - - ps: msbuild /t:Restore /v:m + - gitversion /l console /output buildserver /updateAssemblyInfo /diag + - msbuild /t:Clean /v:m + - msbuild /t:Restore /v:m build: verbosity: minimal after_build: - - ps: dotnet publish -c Release -o ./singleExe .\src\ModSink.WPF\ModSink.WPF.csproj + - dotnet publish -c Release -o ./singleExe .\src\ModSink.WPF\ModSink.WPF.csproj artifacts: - path: src/ModSink.WPF/bin/Release/netcoreapp3.0 @@ -26,10 +26,10 @@ artifacts: name: ModSink.WPF.exe test_script: - - cmd: dotnet test "src\ModSink.Common.Tests\ModSink.Common.Tests.csproj" --configuration Release --no-build /p:AltCover=true /p:AltCoverForce=true - - cmd: codecov -f "src\ModSink.Common.Tests\coverage.xml" - - cmd: dotnet test "src\ModSink.UI.Tests\ModSink.UI.Tests.csproj" --configuration Release --no-build /p:AltCover=true /p:AltCoverForce=true - - cmd: codecov -f "src\ModSink.UI.Tests\coverage.xml" + - dotnet test "src\ModSink.Common.Tests\ModSink.Common.Tests.csproj" --configuration Release --no-build /p:AltCover=true /p:AltCoverForce=true + - codecov -f "src\ModSink.Common.Tests\coverage.xml" + - dotnet test "src\ModSink.UI.Tests\ModSink.UI.Tests.csproj" --configuration Release --no-build /p:AltCover=true /p:AltCoverForce=true + - codecov -f "src\ModSink.UI.Tests\coverage.xml" deploy: - provider: GitHub From a802339a7111848fdf532a1d5ab8c5c03e276ad7 Mon Sep 17 00:00:00 2001 From: J2ghz Date: Fri, 31 May 2019 20:23:41 +0200 Subject: [PATCH 4/4] allow build for test --- appveyor.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/appveyor.yml b/appveyor.yml index 5ba3edde..bffd7a14 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -26,9 +26,9 @@ artifacts: name: ModSink.WPF.exe test_script: - - dotnet test "src\ModSink.Common.Tests\ModSink.Common.Tests.csproj" --configuration Release --no-build /p:AltCover=true /p:AltCoverForce=true + - dotnet test "src\ModSink.Common.Tests\ModSink.Common.Tests.csproj" --configuration Release /p:AltCover=true /p:AltCoverForce=true - codecov -f "src\ModSink.Common.Tests\coverage.xml" - - dotnet test "src\ModSink.UI.Tests\ModSink.UI.Tests.csproj" --configuration Release --no-build /p:AltCover=true /p:AltCoverForce=true + - dotnet test "src\ModSink.UI.Tests\ModSink.UI.Tests.csproj" --configuration Release /p:AltCover=true /p:AltCoverForce=true - codecov -f "src\ModSink.UI.Tests\coverage.xml" deploy: