Skip to content

Commit 21137cd

Browse files
committed
Fix error reporting in Windows preset build job
ghstack-source-id: 342cdf8 ghstack-comment-id: 3169485065 Pull-Request: #13247
1 parent 2a50381 commit 21137cd

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/build-presets.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,14 +119,16 @@ jobs:
119119
set -eux
120120
conda init powershell
121121
powershell -Command "& {
122-
\$ErrorActionPreference = 'Stop'
122+
$ErrorActionPreference = 'Stop'
123123
Set-PSDebug -Trace 1
124124
125125
conda create --yes --quiet -n et python=3.12
126126
conda activate et
127127
128128
python install_requirements.py
129129
cmake --preset ${{ matrix.preset }}
130+
131+
Write-Host "Build exit code: \$LASTEXITCODE"
130132
\$numCores = [System.Environment]::GetEnvironmentVariable('NUMBER_OF_PROCESSORS') - 1
131133
cmake --build cmake-out -j \$numCores
132134
}"

0 commit comments

Comments
 (0)