forked from Silverfish/proton-bridge
GODT-1675: More Debug for windows [skip-ci]
This commit is contained in:
@ -31,6 +31,7 @@ if ($null -eq $cmakeExe)
|
|||||||
{
|
{
|
||||||
$cmakeExe = "C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.exe" # Hardcoded for now.
|
$cmakeExe = "C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.exe" # Hardcoded for now.
|
||||||
}
|
}
|
||||||
|
Write-host "CMake found here : $cmakeExe"
|
||||||
|
|
||||||
$bridgeVersion = ($env:BRIDGE_APP_VERSION)
|
$bridgeVersion = ($env:BRIDGE_APP_VERSION)
|
||||||
if ($null -eq $bridgeVersion)
|
if ($null -eq $bridgeVersion)
|
||||||
@ -51,12 +52,14 @@ $vcpkgBootstrap = (Join-Path $vcpkgRoot "bootstrap-vcpkg.bat")
|
|||||||
function check_exit() {
|
function check_exit() {
|
||||||
if ($? -ne $True)
|
if ($? -ne $True)
|
||||||
{
|
{
|
||||||
Write-Host "Process failed: $args[0]"
|
Write-Host "Process failed: $args[0] : $?"
|
||||||
Remove-Item "$buildDir" -Recurse
|
Remove-Item "$buildDir" -Recurse -ErrorAction Ignore
|
||||||
exit 1
|
exit 1
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Write-host "Running build for version $bridgeVersion - $buildConfig in $buildDir"
|
||||||
|
|
||||||
git submodule update --init --recursive $vcpkgRoot
|
git submodule update --init --recursive $vcpkgRoot
|
||||||
. $vcpkgBootstrap -disableMetrics
|
. $vcpkgBootstrap -disableMetrics
|
||||||
. $vcpkgExe install grpc:x64-windows --clean-after-build
|
. $vcpkgExe install grpc:x64-windows --clean-after-build
|
||||||
|
|||||||
Reference in New Issue
Block a user