Skip to content

Commit 484ed13

Browse files
authored
Temporarily disable windows preset build in CI (#13669)
Job is failing on trunk. Temporarily disabling while I resolve it.
1 parent 1d832ad commit 484ed13

File tree

1 file changed

+0
-37
lines changed

1 file changed

+0
-37
lines changed

.github/workflows/build-presets.yml

Lines changed: 0 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -103,40 +103,3 @@ jobs:
103103
./install_requirements.sh > /dev/null
104104
cmake --preset ${{ matrix.preset }}
105105
cmake --build cmake-out -j$(( $(nproc) - 1 ))
106-
107-
windows:
108-
uses: pytorch/test-infra/.github/workflows/windows_job.yml@main
109-
strategy:
110-
fail-fast: false
111-
matrix:
112-
preset: [windows] # TODO (gjcomer) Re-enable pybind once functional
113-
with:
114-
job-name: build
115-
ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }}
116-
submodules: recursive
117-
timeout: 90
118-
script: |
119-
set -eux
120-
conda init powershell
121-
powershell -Command "& {
122-
Set-PSDebug -Trace 1
123-
\$ErrorActionPreference = 'Stop'
124-
\$PSNativeCommandUseErrorActionPreference = \$true
125-
126-
conda create --yes --quiet -n et python=3.12
127-
conda activate et
128-
129-
python install_requirements.py
130-
cmake --preset ${{ matrix.preset }}
131-
if (\$LASTEXITCODE -ne 0) {
132-
Write-Host "CMake configuration was unsuccessful. Exit code: \$LASTEXITCODE."
133-
exit \$LASTEXITCODE
134-
}
135-
136-
\$numCores = [System.Environment]::GetEnvironmentVariable('NUMBER_OF_PROCESSORS') - 1
137-
cmake --build cmake-out -j \$numCores
138-
if (\$LASTEXITCODE -ne 0) {
139-
Write-Host "CMake build was unsuccessful. Exit code: \$LASTEXITCODE."
140-
exit \$LASTEXITCODE
141-
}
142-
}"

0 commit comments

Comments
 (0)