The open source OpenXR runtime
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

ci: Try to avoid confusing Enter-VsDevShell with commit messages.

authored by

Ryan Pavlik and committed by
Jakob Bornecrantz
891a2c16 35b94181

+4 -5
+4 -5
.gitlab-ci/windows/monado_build.ps1
··· 47 47 $installPath = "C:\BuildTools" 48 48 Write-Output "installPath: $installPath" 49 49 50 - # Note that we can't have $ErrorActionPreference as "Stop" here: 51 - # it "errors" (not finding some shared tool because of our mini build tools install) 52 - # but the error doesn't matter for our use case. 53 - Write-Output "There may be a harmless error about 'Team Explorer' shown next, which may be ignored." 54 - $ErrorActionPreference = 'Continue' 50 + # We have to clear this because some characters in a commit message may confuse cmd/Enter-VsDevShell. 51 + $env:CI_COMMIT_DESCRIPTION = "" 52 + $env:CI_COMMIT_MESSAGE = "" 53 + 55 54 Import-Module (Join-Path $installPath "Common7\Tools\Microsoft.VisualStudio.DevShell.dll") 56 55 Enter-VsDevShell -VsInstallPath $installPath -SkipAutomaticLocation -DevCmdArguments '-arch=x64 -no_logo -host_arch=amd64' 57 56