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
Rob Mensching committed
Jan 23, 2023 at 16:30 UTC
ec64f0c0c517f3d5d5979bfe891d58cfb954a6a2
5 files changed
+4
-121
appveyor.yml
deleted
-76
@@ -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
-
3
-branches:
4
- only:
5
- - develop
6
-
7
-image: Visual Studio 2022
8
-
9
-version: 0.0.0.{build}
10
-configuration: Release
11
-
12
-init:
13
- - git config --global core.autocrlf true
14
-
15
-environment:
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
-
22
-install:
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
-
32
-build_script:
33
- - src\build_official.cmd
34
-
35
-after_build:
36
- - 7z a "build\testresults.zip" @src\testresultfilelist.txt
37
-
38
-on_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
-
46
-test: off
47
-
48
-pull_requests:
49
- do_not_increment_build_number: true
50
-
51
-nuget:
52
- disable_publish_on_pr: true
53
-
54
-skip_branch_with_pr: true
55
-skip_tags: true
56
-
57
-artifacts:
58
- - path: build\artifacts
59
- name: artifacts
60
- type: zip
61
-
62
-notifications:
63
-- provider: Slack
64
- incoming_webhook:
65
- secure: p5xuu+4x2JHfwGDMDe5KcG1k7gZxqYc4jWVwvyNZv5cvkubPD2waJs5yXMAXZNN7Z63/3PWHb7q4KoY/99AjauYa1nZ4c5qYqRPFRBKTHfA=
66
-
67
-for:
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=
src/ext/Bal/test/WixToolsetTest.ManagedHost/README.md
+2
-2
@@ -1,5 +1,5 @@
1
In order to properly test dnchost and mbahost,
2
the managed BAs need to be published and a bundle needs to be built for each scenario.
3
Making this happen on every build for the solution takes too long,
4
-so this project relies on manually running appveyor.cmd to publish everything before the tests can be run.
5
-appveyor.cmd needs to be ran again every time changes are made in other projects.
\ No newline at end of file
4
+so this project relies on manually running devbuild.cmd to publish everything before the tests can be run.
5
+devbuild.cmd needs to be ran again every time changes are made in other projects.
\ No newline at end of file
src/internal/SetBuildNumber/SetBuildNumber.proj
-15
@@ -20,7 +20,6 @@
20
<SetBuildNumbersDependsOn>
21
__SetPropertiesFromGit;
22
GitThisAssembly;
23
- SetAppVeyorBuildNumber;
23
SetGlobalJson;
24
SetDirectoryPackagesProps;
25
SetOverallWixVersions;
@@ -33,20 +32,6 @@
32
<GitInfoThisAssemblyFile>$([System.IO.Path]::GetFullPath($(MSBuildThisFileDirectory)..\..\..\build\ThisAssembly.WixVer.cs))</GitInfoThisAssemblyFile>
33
</PropertyGroup>
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
-
35
<Target Name="SetGlobalJson"
36
Inputs="global.json.pp"
37
Outputs="$(GlobalJsonPath)">
src/test/run_test.yml
deleted
-26
@@ -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
-
4
-image: Visual Studio 2019
5
-
6
-environment:
7
- DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
8
- DOTNET_CLI_TELEMETRY_OPTOUT: 1
9
- NUGET_XMLDOC_MODE: skip
10
- RuntimeTestsEnabled: true
11
-
12
-install:
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
-
16
-build_script:
17
- - run_test.cmd
18
-
19
-test: off
20
-
21
-skip_branch_with_pr: true
22
-skip_tags: true
23
-
24
-on_finish:
25
- - ps: 7z a ('logs_' + (Get-Date).tostring("yyyyMMddHHmmss") + '.zip') $env:TEMP\*.log $env:TEMP\..\*.log
26
- - ps: Push-AppveyorArtifact logs_*.zip
src/wix/test/WixToolsetTest.Sdk/README.md
+2
-2
@@ -1,5 +1,5 @@
1
In order to properly test wix.targets,
2
all of the supported architectures for WixToolset.BuildTasks need to be available in the layout used in the Nuget package.
3
Making this happen on every build for the solution takes too long,
4
-so this project relies on manually running appveyor.cmd to publish everything before the tests can be run.
5
-appveyor.cmd needs to be ran again every time changes are made in other projects, including the targets themselves.
\ No newline at end of file
4
+so this project relies on manually running devbuild.cmd to publish everything before the tests can be run.
5
+devbuild.cmd needs to be ran again every time changes are made in other projects, including the targets themselves.
\ No newline at end of file