diff options
author | Sean Hall <r.sean.hall@gmail.com> | 2021-12-31 20:24:05 -0600 |
---|---|---|
committer | Sean Hall <r.sean.hall@gmail.com> | 2022-01-01 10:24:08 -0600 |
commit | ec89ea96ae7f42b227c0fb5f61cd21a19ef2e8de (patch) | |
tree | 7e17745923b5b961a114693caf0005e40f651cfc /appveyor.yml | |
parent | 95b1be66d4c16b1b05b761c1771df229ac0e539c (diff) | |
download | wix-ec89ea96ae7f42b227c0fb5f61cd21a19ef2e8de.tar.gz wix-ec89ea96ae7f42b227c0fb5f61cd21a19ef2e8de.tar.bz2 wix-ec89ea96ae7f42b227c0fb5f61cd21a19ef2e8de.zip |
Upload test results and fail the build if any are missing.
Always zip up the logs from %TEMP%.
Diffstat (limited to 'appveyor.yml')
-rw-r--r-- | appveyor.yml | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/appveyor.yml b/appveyor.yml index 8741026b..7cfc64bf 100644 --- a/appveyor.yml +++ b/appveyor.yml | |||
@@ -15,10 +15,24 @@ environment: | |||
15 | DOTNET_CLI_TELEMETRY_OPTOUT: 1 | 15 | DOTNET_CLI_TELEMETRY_OPTOUT: 1 |
16 | NUGET_XMLDOC_MODE: skip | 16 | NUGET_XMLDOC_MODE: skip |
17 | WixSkipVsDevCmd: 1 | 17 | WixSkipVsDevCmd: 1 |
18 | RuntimeTestsEnabled: true | ||
19 | |||
20 | install: | ||
21 | - reg add HKLM\Software\Policies\Microsoft\Windows\Installer /t REG_SZ /v Logging /d voicewarmupx /f | ||
22 | - reg add HKLM\Software\WOW6432Node\Policies\Microsoft\Windows\Installer /t REG_SZ /v Logging /d voicewarmupx /f | ||
18 | 23 | ||
19 | build_script: | 24 | build_script: |
20 | - src\build_official.cmd | 25 | - src\build_official.cmd |
21 | 26 | ||
27 | after_build: | ||
28 | - 7z a "build\testresults.zip" @src\testresultfilelist.txt | ||
29 | |||
30 | on_finish: | ||
31 | - ps: 7z a ('temp_logs_' + (Get-Date).tostring("yyyyMMddHHmmss") + '.zip') $env:TEMP\*.log $env:TEMP\..\*.log | ||
32 | - ps: 7z a ('build_logs_' + (Get-Date).tostring("yyyyMMddHHmmss") + '.zip') build\logs\ build\logs\TestResults\ | ||
33 | - ps: Push-AppveyorArtifact temp_logs_*.zip | ||
34 | - ps: Push-AppveyorArtifact build_logs_*.zip | ||
35 | |||
22 | test: off | 36 | test: off |
23 | 37 | ||
24 | pull_requests: | 38 | pull_requests: |
@@ -46,7 +60,6 @@ for: | |||
46 | - master | 60 | - master |
47 | 61 | ||
48 | environment: | 62 | environment: |
49 | RuntimeTestsEnabled: true | ||
50 | SigningUser: | 63 | SigningUser: |
51 | secure: s+b2kuhi/AlE8ZYFsNVHFLfgJOwi0fIKMCOP+xL++8U= | 64 | secure: s+b2kuhi/AlE8ZYFsNVHFLfgJOwi0fIKMCOP+xL++8U= |
52 | SigningSecret: | 65 | SigningSecret: |