From 94c4f20779d0741c177e2a8a00c439380146c0de Mon Sep 17 00:00:00 2001 From: Gregory James Comer Date: Fri, 8 Aug 2025 14:44:48 -0700 Subject: [PATCH 1/6] Update [ghstack-poisoned] --- .github/workflows/build-presets.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.github/workflows/build-presets.yml b/.github/workflows/build-presets.yml index b0455140f62..c4318e3daa5 100644 --- a/.github/workflows/build-presets.yml +++ b/.github/workflows/build-presets.yml @@ -6,8 +6,6 @@ on: branches: - main - release/* - paths: - - .github/workflows/build-presets.yml workflow_dispatch: concurrency: From 352c059e348c6b84cb33fb78b875ad387e44835f Mon Sep 17 00:00:00 2001 From: Gregory James Comer Date: Fri, 8 Aug 2025 15:57:45 -0700 Subject: [PATCH 2/6] Update [ghstack-poisoned] --- .github/workflows/build-presets.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/build-presets.yml b/.github/workflows/build-presets.yml index c4318e3daa5..b771a274a68 100644 --- a/.github/workflows/build-presets.yml +++ b/.github/workflows/build-presets.yml @@ -127,6 +127,7 @@ jobs: python install_requirements.py cmake --preset ${{ matrix.preset }} + Write-Host "Build exit code: \$LASTEXITCODE" \$numCores = [System.Environment]::GetEnvironmentVariable('NUMBER_OF_PROCESSORS') - 1 cmake --build cmake-out -j \$numCores }" From d8f8b12c9cfc4e7c3a82979b66becdbabd66fa40 Mon Sep 17 00:00:00 2001 From: Gregory James Comer Date: Fri, 8 Aug 2025 16:09:59 -0700 Subject: [PATCH 3/6] Update [ghstack-poisoned] --- .github/workflows/build-presets.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build-presets.yml b/.github/workflows/build-presets.yml index b771a274a68..058a1898f25 100644 --- a/.github/workflows/build-presets.yml +++ b/.github/workflows/build-presets.yml @@ -119,7 +119,7 @@ jobs: set -eux conda init powershell powershell -Command "& { - \$ErrorActionPreference = 'Stop' + $ErrorActionPreference = 'Stop' Set-PSDebug -Trace 1 conda create --yes --quiet -n et python=3.12 @@ -127,6 +127,7 @@ jobs: python install_requirements.py cmake --preset ${{ matrix.preset }} + Write-Host "Build exit code: \$LASTEXITCODE" \$numCores = [System.Environment]::GetEnvironmentVariable('NUMBER_OF_PROCESSORS') - 1 cmake --build cmake-out -j \$numCores From 8e8b78cd2dfce777e468e5af8e94e15d582c0ec1 Mon Sep 17 00:00:00 2001 From: Gregory James Comer Date: Fri, 8 Aug 2025 16:22:18 -0700 Subject: [PATCH 4/6] Update [ghstack-poisoned] --- .github/workflows/build-presets.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build-presets.yml b/.github/workflows/build-presets.yml index 058a1898f25..a0593120a5c 100644 --- a/.github/workflows/build-presets.yml +++ b/.github/workflows/build-presets.yml @@ -119,7 +119,7 @@ jobs: set -eux conda init powershell powershell -Command "& { - $ErrorActionPreference = 'Stop' + $$ErrorActionPreference = 'Stop' Set-PSDebug -Trace 1 conda create --yes --quiet -n et python=3.12 From 9cfd2b6caddf1e993be2a149a57ae94304241c86 Mon Sep 17 00:00:00 2001 From: Gregory James Comer Date: Fri, 8 Aug 2025 16:33:10 -0700 Subject: [PATCH 5/6] Update [ghstack-poisoned] --- .github/workflows/build-presets.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build-presets.yml b/.github/workflows/build-presets.yml index a0593120a5c..fba797ed1d8 100644 --- a/.github/workflows/build-presets.yml +++ b/.github/workflows/build-presets.yml @@ -119,7 +119,8 @@ jobs: set -eux conda init powershell powershell -Command "& { - $$ErrorActionPreference = 'Stop' + \$ErrorActionPreference = 'Stop' + \$PSNativeCommandUseErrorActionPreference = \$true Set-PSDebug -Trace 1 conda create --yes --quiet -n et python=3.12 From 5b1330b09cf77591f2b91f5bb93af3236380f818 Mon Sep 17 00:00:00 2001 From: Gregory James Comer Date: Fri, 8 Aug 2025 16:53:38 -0700 Subject: [PATCH 6/6] Update [ghstack-poisoned] --- .github/workflows/build-presets.yml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-presets.yml b/.github/workflows/build-presets.yml index fba797ed1d8..160c07af15e 100644 --- a/.github/workflows/build-presets.yml +++ b/.github/workflows/build-presets.yml @@ -119,17 +119,24 @@ jobs: set -eux conda init powershell powershell -Command "& { + Set-PSDebug -Trace 1 \$ErrorActionPreference = 'Stop' \$PSNativeCommandUseErrorActionPreference = \$true - Set-PSDebug -Trace 1 conda create --yes --quiet -n et python=3.12 conda activate et python install_requirements.py cmake --preset ${{ matrix.preset }} + if (\$LASTEXITCODE -ne 0) { + Write-Host "CMake configuration was unsuccessful. Exit code: \$LASTEXITCODE." + exit \$LASTEXITCODE + } - Write-Host "Build exit code: \$LASTEXITCODE" \$numCores = [System.Environment]::GetEnvironmentVariable('NUMBER_OF_PROCESSORS') - 1 cmake --build cmake-out -j \$numCores + if (\$LASTEXITCODE -ne 0) { + Write-Host "CMake build was unsuccessful. Exit code: \$LASTEXITCODE." + exit \$LASTEXITCODE + } }"