aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRob Mensching <rob@firegiant.com>2023-01-23 16:30:20 -0800
committerRob Mensching <rob@firegiant.com>2023-01-23 17:34:01 -0800
commitec64f0c0c517f3d5d5979bfe891d58cfb954a6a2 (patch)
tree18d19e7904d864947eb752726fb50b7bffbbb30a
parent7a3869780e294be7d4ae38d1215c6e5e84798d2f (diff)
downloadwix-ec64f0c0c517f3d5d5979bfe891d58cfb954a6a2.tar.gz
wix-ec64f0c0c517f3d5d5979bfe891d58cfb954a6a2.tar.bz2
wix-ec64f0c0c517f3d5d5979bfe891d58cfb954a6a2.zip
Remove use of AppVeyor
WiX v4 standardized on GitHub Actions for the build process. AppVeyor served us well and provides a great service for free. But since we moved to GitHub Actions let's not burn cycles on their build machines. Closes 7175
-rw-r--r--appveyor.yml76
-rw-r--r--src/ext/Bal/test/WixToolsetTest.ManagedHost/README.md4
-rw-r--r--src/internal/SetBuildNumber/SetBuildNumber.proj15
-rw-r--r--src/test/run_test.yml26
-rw-r--r--src/wix/test/WixToolsetTest.Sdk/README.md4
5 files changed, 4 insertions, 121 deletions
diff --git a/appveyor.yml b/appveyor.yml
deleted file mode 100644
index 9ff158b4..00000000
--- a/appveyor.yml
+++ /dev/null
@@ -1,76 +0,0 @@
1# Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft Reciprocal License. See LICENSE.TXT file in the project root for full license information.
2
3branches:
4 only:
5 - develop
6
7image: Visual Studio 2022
8
9version: 0.0.0.{build}
10configuration: Release
11
12init:
13 - git config --global core.autocrlf true
14
15environment:
16 DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
17 DOTNET_CLI_TELEMETRY_OPTOUT: 1
18 NUGET_XMLDOC_MODE: skip
19 WixSkipVsDevCmd: 1
20 RuntimeTestsEnabled: true
21
22install:
23 - reg add HKLM\Software\Policies\Microsoft\Windows\Installer /t REG_SZ /v Logging /d voicewarmupx /f
24 - reg add HKLM\Software\WOW6432Node\Policies\Microsoft\Windows\Installer /t REG_SZ /v Logging /d voicewarmupx /f
25 - reg add "HKLM\SOFTWARE\Microsoft\Windows\Windows Error Reporting\LocalDumps" /t REG_EXPAND_SZ /v DumpFolder /d "%CD%\build\logs\crashdumps" /f
26 - reg add "HKLM\SOFTWARE\Microsoft\Windows\Windows Error Reporting\LocalDumps" /t REG_DWORD /v DumpCount /d 10 /f
27 - reg add "HKLM\SOFTWARE\Microsoft\Windows\Windows Error Reporting\LocalDumps" /t REG_DWORD /v DumpType /d 1 /f
28 - reg add "HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\Windows Error Reporting\LocalDumps" /t REG_EXPAND_SZ /v DumpFolder /d "%CD%\build\logs\crashdumps" /f
29 - reg add "HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\Windows Error Reporting\LocalDumps" /t REG_DWORD /v DumpCount /d 10 /f
30 - reg add "HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\Windows Error Reporting\LocalDumps" /t REG_DWORD /v DumpType /d 1
31
32build_script:
33 - src\build_official.cmd
34
35after_build:
36 - 7z a "build\testresults.zip" @src\testresultfilelist.txt
37
38on_finish:
39 - wevtutil epl Application build\logs\Application.evtx /q:"Event/System/TimeCreated[timediff(@SystemTime) <= 86400000]"
40 - wevtutil epl System build\logs\System.evtx /q:"Event/System/TimeCreated[timediff(@SystemTime) <= 86400000]"
41 - ps: 7z a ('temp_logs_' + (Get-Date).tostring("yyyyMMddHHmmss") + '.zip') $env:TEMP\*.log $env:TEMP\..\*.log
42 - ps: 7z a ('build_logs_' + (Get-Date).tostring("yyyyMMddHHmmss") + '.zip') build\logs\ build\logs\TestResults\
43 - ps: Push-AppveyorArtifact temp_logs_*.zip
44 - ps: Push-AppveyorArtifact build_logs_*.zip
45
46test: off
47
48pull_requests:
49 do_not_increment_build_number: true
50
51nuget:
52 disable_publish_on_pr: true
53
54skip_branch_with_pr: true
55skip_tags: true
56
57artifacts:
58 - path: build\artifacts
59 name: artifacts
60 type: zip
61
62notifications:
63- provider: Slack
64 incoming_webhook:
65 secure: p5xuu+4x2JHfwGDMDe5KcG1k7gZxqYc4jWVwvyNZv5cvkubPD2waJs5yXMAXZNN7Z63/3PWHb7q4KoY/99AjauYa1nZ4c5qYqRPFRBKTHfA=
66
67for:
68- branches:
69 only:
70 - master
71
72 environment:
73 SigningUser:
74 secure: s+b2kuhi/AlE8ZYFsNVHFLfgJOwi0fIKMCOP+xL++8U=
75 SigningSecret:
76 secure: h0urCGu3+ArelfLcW0JvB82rc7dkPqedVSxXmMbQ+dc=
diff --git a/src/ext/Bal/test/WixToolsetTest.ManagedHost/README.md b/src/ext/Bal/test/WixToolsetTest.ManagedHost/README.md
index d7e73df2..cbec1387 100644
--- a/src/ext/Bal/test/WixToolsetTest.ManagedHost/README.md
+++ b/src/ext/Bal/test/WixToolsetTest.ManagedHost/README.md
@@ -1,5 +1,5 @@
1In order to properly test dnchost and mbahost, 1In order to properly test dnchost and mbahost,
2the managed BAs need to be published and a bundle needs to be built for each scenario. 2the managed BAs need to be published and a bundle needs to be built for each scenario.
3Making this happen on every build for the solution takes too long, 3Making this happen on every build for the solution takes too long,
4so this project relies on manually running appveyor.cmd to publish everything before the tests can be run. 4so this project relies on manually running devbuild.cmd to publish everything before the tests can be run.
5appveyor.cmd needs to be ran again every time changes are made in other projects. \ No newline at end of file 5devbuild.cmd needs to be ran again every time changes are made in other projects. \ No newline at end of file
diff --git a/src/internal/SetBuildNumber/SetBuildNumber.proj b/src/internal/SetBuildNumber/SetBuildNumber.proj
index 5a71c673..5e5bf564 100644
--- a/src/internal/SetBuildNumber/SetBuildNumber.proj
+++ b/src/internal/SetBuildNumber/SetBuildNumber.proj
@@ -20,7 +20,6 @@
20 <SetBuildNumbersDependsOn> 20 <SetBuildNumbersDependsOn>
21 __SetPropertiesFromGit; 21 __SetPropertiesFromGit;
22 GitThisAssembly; 22 GitThisAssembly;
23 SetAppVeyorBuildNumber;
24 SetGlobalJson; 23 SetGlobalJson;
25 SetDirectoryPackagesProps; 24 SetDirectoryPackagesProps;
26 SetOverallWixVersions; 25 SetOverallWixVersions;
@@ -33,20 +32,6 @@
33 <GitInfoThisAssemblyFile>$([System.IO.Path]::GetFullPath($(MSBuildThisFileDirectory)..\..\..\build\ThisAssembly.WixVer.cs))</GitInfoThisAssemblyFile> 32 <GitInfoThisAssemblyFile>$([System.IO.Path]::GetFullPath($(MSBuildThisFileDirectory)..\..\..\build\ThisAssembly.WixVer.cs))</GitInfoThisAssemblyFile>
34 </PropertyGroup> 33 </PropertyGroup>
35 34
36 <Target Name="SetAppVeyorBuildNumber"
37 Condition=" '$(APPVEYOR)'=='True' ">
38 <PropertyGroup>
39 <AppVeyorBuildNumber>$(InformationalVersion)-$(APPVEYOR_BUILD_ID)</AppVeyorBuildNumber>
40 <AppVeyorBuildNumber Condition=" '$(APPVEYOR_PULL_REQUEST_NUMBER)'!='' ">PR#$(APPVEYOR_PULL_REQUEST_NUMBER)-$(AppVeyorBuildNumber)</AppVeyorBuildNumber>
41 <AppVeyorBuildNumber Condition=" '$(RuntimeTestsEnabled)'!='' ">TEST-$(AppVeyorBuildNumber)</AppVeyorBuildNumber>
42 </PropertyGroup>
43
44 <Message Importance="high" Text=" $(AppVeyorBuildNumber)" />
45
46 <Exec Command='appveyor UpdateBuild -Version "$(AppVeyorBuildNumber)"' />
47 </Target>
48
49
50 <Target Name="SetGlobalJson" 35 <Target Name="SetGlobalJson"
51 Inputs="global.json.pp" 36 Inputs="global.json.pp"
52 Outputs="$(GlobalJsonPath)"> 37 Outputs="$(GlobalJsonPath)">
diff --git a/src/test/run_test.yml b/src/test/run_test.yml
deleted file mode 100644
index 787edeff..00000000
--- a/src/test/run_test.yml
+++ /dev/null
@@ -1,26 +0,0 @@
1# Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft Reciprocal License. See LICENSE.TXT file in the project root for full license information.
2
3
4image: Visual Studio 2019
5
6environment:
7 DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
8 DOTNET_CLI_TELEMETRY_OPTOUT: 1
9 NUGET_XMLDOC_MODE: skip
10 RuntimeTestsEnabled: true
11
12install:
13 - reg add HKLM\Software\Policies\Microsoft\Windows\Installer /t REG_SZ /v Logging /d voicewarmupx /f
14 - reg add HKLM\Software\WOW6432Node\Policies\Microsoft\Windows\Installer /t REG_SZ /v Logging /d voicewarmupx /f
15
16build_script:
17 - run_test.cmd
18
19test: off
20
21skip_branch_with_pr: true
22skip_tags: true
23
24on_finish:
25 - ps: 7z a ('logs_' + (Get-Date).tostring("yyyyMMddHHmmss") + '.zip') $env:TEMP\*.log $env:TEMP\..\*.log
26 - ps: Push-AppveyorArtifact logs_*.zip
diff --git a/src/wix/test/WixToolsetTest.Sdk/README.md b/src/wix/test/WixToolsetTest.Sdk/README.md
index 7faf34b9..daf85e5a 100644
--- a/src/wix/test/WixToolsetTest.Sdk/README.md
+++ b/src/wix/test/WixToolsetTest.Sdk/README.md
@@ -1,5 +1,5 @@
1In order to properly test wix.targets, 1In order to properly test wix.targets,
2all of the supported architectures for WixToolset.BuildTasks need to be available in the layout used in the Nuget package. 2all of the supported architectures for WixToolset.BuildTasks need to be available in the layout used in the Nuget package.
3Making this happen on every build for the solution takes too long, 3Making this happen on every build for the solution takes too long,
4so this project relies on manually running appveyor.cmd to publish everything before the tests can be run. 4so this project relies on manually running devbuild.cmd to publish everything before the tests can be run.
5appveyor.cmd needs to be ran again every time changes are made in other projects, including the targets themselves. \ No newline at end of file 5devbuild.cmd needs to be ran again every time changes are made in other projects, including the targets themselves. \ No newline at end of file