diff options
| author | Rob Mensching <rob@firegiant.com> | 2023-01-23 16:30:20 -0800 |
|---|---|---|
| committer | Rob Mensching <rob@firegiant.com> | 2023-01-23 17:34:01 -0800 |
| commit | ec64f0c0c517f3d5d5979bfe891d58cfb954a6a2 (patch) | |
| tree | 18d19e7904d864947eb752726fb50b7bffbbb30a /src | |
| parent | 7a3869780e294be7d4ae38d1215c6e5e84798d2f (diff) | |
| download | wix-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
Diffstat (limited to 'src')
| -rw-r--r-- | src/ext/Bal/test/WixToolsetTest.ManagedHost/README.md | 4 | ||||
| -rw-r--r-- | src/internal/SetBuildNumber/SetBuildNumber.proj | 15 | ||||
| -rw-r--r-- | src/test/run_test.yml | 26 | ||||
| -rw-r--r-- | src/wix/test/WixToolsetTest.Sdk/README.md | 4 |
4 files changed, 4 insertions, 45 deletions
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 @@ | |||
| 1 | In order to properly test dnchost and mbahost, | 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. | 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, | 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. | 4 | so this project relies on manually running devbuild.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 | 5 | devbuild.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 | |||
| 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 | ||
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 @@ | |||
| 1 | In order to properly test wix.targets, | 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. | 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, | 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. | 4 | so this project relies on manually running devbuild.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 | 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 |
