From ec64f0c0c517f3d5d5979bfe891d58cfb954a6a2 Mon Sep 17 00:00:00 2001 From: Rob Mensching <rob@firegiant.com> Date: Mon, 23 Jan 2023 16:30:20 -0800 Subject: 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 --- appveyor.yml | 76 ---------------------- .../Bal/test/WixToolsetTest.ManagedHost/README.md | 4 +- src/internal/SetBuildNumber/SetBuildNumber.proj | 15 ----- src/test/run_test.yml | 26 -------- src/wix/test/WixToolsetTest.Sdk/README.md | 4 +- 5 files changed, 4 insertions(+), 121 deletions(-) delete mode 100644 appveyor.yml delete mode 100644 src/test/run_test.yml diff --git a/appveyor.yml b/appveyor.yml deleted file mode 100644 index 9ff158b4..00000000 --- a/appveyor.yml +++ /dev/null @@ -1,76 +0,0 @@ -# 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. - -branches: - only: - - develop - -image: Visual Studio 2022 - -version: 0.0.0.{build} -configuration: Release - -init: - - git config --global core.autocrlf true - -environment: - DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true - DOTNET_CLI_TELEMETRY_OPTOUT: 1 - NUGET_XMLDOC_MODE: skip - WixSkipVsDevCmd: 1 - RuntimeTestsEnabled: true - -install: - - reg add HKLM\Software\Policies\Microsoft\Windows\Installer /t REG_SZ /v Logging /d voicewarmupx /f - - reg add HKLM\Software\WOW6432Node\Policies\Microsoft\Windows\Installer /t REG_SZ /v Logging /d voicewarmupx /f - - reg add "HKLM\SOFTWARE\Microsoft\Windows\Windows Error Reporting\LocalDumps" /t REG_EXPAND_SZ /v DumpFolder /d "%CD%\build\logs\crashdumps" /f - - reg add "HKLM\SOFTWARE\Microsoft\Windows\Windows Error Reporting\LocalDumps" /t REG_DWORD /v DumpCount /d 10 /f - - reg add "HKLM\SOFTWARE\Microsoft\Windows\Windows Error Reporting\LocalDumps" /t REG_DWORD /v DumpType /d 1 /f - - reg add "HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\Windows Error Reporting\LocalDumps" /t REG_EXPAND_SZ /v DumpFolder /d "%CD%\build\logs\crashdumps" /f - - reg add "HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\Windows Error Reporting\LocalDumps" /t REG_DWORD /v DumpCount /d 10 /f - - reg add "HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\Windows Error Reporting\LocalDumps" /t REG_DWORD /v DumpType /d 1 - -build_script: - - src\build_official.cmd - -after_build: - - 7z a "build\testresults.zip" @src\testresultfilelist.txt - -on_finish: - - wevtutil epl Application build\logs\Application.evtx /q:"Event/System/TimeCreated[timediff(@SystemTime) <= 86400000]" - - wevtutil epl System build\logs\System.evtx /q:"Event/System/TimeCreated[timediff(@SystemTime) <= 86400000]" - - ps: 7z a ('temp_logs_' + (Get-Date).tostring("yyyyMMddHHmmss") + '.zip') $env:TEMP\*.log $env:TEMP\..\*.log - - ps: 7z a ('build_logs_' + (Get-Date).tostring("yyyyMMddHHmmss") + '.zip') build\logs\ build\logs\TestResults\ - - ps: Push-AppveyorArtifact temp_logs_*.zip - - ps: Push-AppveyorArtifact build_logs_*.zip - -test: off - -pull_requests: - do_not_increment_build_number: true - -nuget: - disable_publish_on_pr: true - -skip_branch_with_pr: true -skip_tags: true - -artifacts: - - path: build\artifacts - name: artifacts - type: zip - -notifications: -- provider: Slack - incoming_webhook: - secure: p5xuu+4x2JHfwGDMDe5KcG1k7gZxqYc4jWVwvyNZv5cvkubPD2waJs5yXMAXZNN7Z63/3PWHb7q4KoY/99AjauYa1nZ4c5qYqRPFRBKTHfA= - -for: -- branches: - only: - - master - - environment: - SigningUser: - secure: s+b2kuhi/AlE8ZYFsNVHFLfgJOwi0fIKMCOP+xL++8U= - SigningSecret: - 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 @@ In order to properly test dnchost and mbahost, the managed BAs need to be published and a bundle needs to be built for each scenario. Making this happen on every build for the solution takes too long, -so this project relies on manually running appveyor.cmd to publish everything before the tests can be run. -appveyor.cmd needs to be ran again every time changes are made in other projects. \ No newline at end of file +so this project relies on manually running devbuild.cmd to publish everything before the tests can be run. +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 @@ <SetBuildNumbersDependsOn> __SetPropertiesFromGit; GitThisAssembly; - SetAppVeyorBuildNumber; SetGlobalJson; SetDirectoryPackagesProps; SetOverallWixVersions; @@ -33,20 +32,6 @@ <GitInfoThisAssemblyFile>$([System.IO.Path]::GetFullPath($(MSBuildThisFileDirectory)..\..\..\build\ThisAssembly.WixVer.cs))</GitInfoThisAssemblyFile> </PropertyGroup> - <Target Name="SetAppVeyorBuildNumber" - Condition=" '$(APPVEYOR)'=='True' "> - <PropertyGroup> - <AppVeyorBuildNumber>$(InformationalVersion)-$(APPVEYOR_BUILD_ID)</AppVeyorBuildNumber> - <AppVeyorBuildNumber Condition=" '$(APPVEYOR_PULL_REQUEST_NUMBER)'!='' ">PR#$(APPVEYOR_PULL_REQUEST_NUMBER)-$(AppVeyorBuildNumber)</AppVeyorBuildNumber> - <AppVeyorBuildNumber Condition=" '$(RuntimeTestsEnabled)'!='' ">TEST-$(AppVeyorBuildNumber)</AppVeyorBuildNumber> - </PropertyGroup> - - <Message Importance="high" Text=" $(AppVeyorBuildNumber)" /> - - <Exec Command='appveyor UpdateBuild -Version "$(AppVeyorBuildNumber)"' /> - </Target> - - <Target Name="SetGlobalJson" Inputs="global.json.pp" 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 @@ -# 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. - - -image: Visual Studio 2019 - -environment: - DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true - DOTNET_CLI_TELEMETRY_OPTOUT: 1 - NUGET_XMLDOC_MODE: skip - RuntimeTestsEnabled: true - -install: - - reg add HKLM\Software\Policies\Microsoft\Windows\Installer /t REG_SZ /v Logging /d voicewarmupx /f - - reg add HKLM\Software\WOW6432Node\Policies\Microsoft\Windows\Installer /t REG_SZ /v Logging /d voicewarmupx /f - -build_script: - - run_test.cmd - -test: off - -skip_branch_with_pr: true -skip_tags: true - -on_finish: - - ps: 7z a ('logs_' + (Get-Date).tostring("yyyyMMddHHmmss") + '.zip') $env:TEMP\*.log $env:TEMP\..\*.log - - 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 @@ In order to properly test wix.targets, all of the supported architectures for WixToolset.BuildTasks need to be available in the layout used in the Nuget package. Making this happen on every build for the solution takes too long, -so this project relies on manually running appveyor.cmd to publish everything before the tests can be run. -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 +so this project relies on manually running devbuild.cmd to publish everything before the tests can be run. +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 -- cgit v1.2.3-55-g6feb