diff options
-rw-r--r-- | .github/workflows/build.yml | 6 | ||||
-rw-r--r-- | src/test/burn/test_burn.cmd | 10 |
2 files changed, 15 insertions, 1 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 93eef43b..f38fb5d7 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml | |||
@@ -41,3 +41,9 @@ jobs: | |||
41 | with: | 41 | with: |
42 | name: artifacts | 42 | name: artifacts |
43 | path: build/artifacts/ | 43 | path: build/artifacts/ |
44 | |||
45 | - name: Save logs | ||
46 | uses: actions/upload-artifact@v2 | ||
47 | with: | ||
48 | name: logs | ||
49 | path: build/logs/ | ||
diff --git a/src/test/burn/test_burn.cmd b/src/test/burn/test_burn.cmd index f8880094..3c8ce918 100644 --- a/src/test/burn/test_burn.cmd +++ b/src/test/burn/test_burn.cmd | |||
@@ -12,7 +12,15 @@ | |||
12 | msbuild -t:Build -Restore -p:Configuration=%_C% -warnaserror || exit /b | 12 | msbuild -t:Build -Restore -p:Configuration=%_C% -warnaserror || exit /b |
13 | msbuild -t:Build -Restore -p:Configuration=%_C% TestData\TestData.proj || exit /b | 13 | msbuild -t:Build -Restore -p:Configuration=%_C% TestData\TestData.proj || exit /b |
14 | 14 | ||
15 | if /i "%RuntimeTestsEnabled%"=="true" dotnet test -c %_C% --no-build WixToolsetTest.BurnE2E | 15 | @if not "%RuntimeTestsEnabled%"=="true" goto :LExit |
16 | 16 | ||
17 | reg add HKLM\Software\Policies\Microsoft\Windows\Installer /t REG_SZ /v Logging /d voicewarmupx /f | ||
18 | reg add HKLM\Software\WOW6432Node\Policies\Microsoft\Windows\Installer /t REG_SZ /v Logging /d voicewarmupx /f | ||
19 | |||
20 | dotnet test -c %_C% --no-build WixToolsetTest.BurnE2E | ||
21 | |||
22 | 7z a "..\..\..\build\logs\test_burn_%GITHUB_RUN_ID%.zip" "%TEMP%\*.log" "%TEMP%\..\*.log" | ||
23 | |||
24 | :LExit | ||
17 | @popd | 25 | @popd |
18 | @endlocal | 26 | @endlocal |