Skip to content

Commit 04f4e43

Browse files
committed
wip ∫ MAY 20 2025 16:19:09
1 parent 1b063ca commit 04f4e43

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed

.github/workflows/build-presets.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,3 +66,35 @@ jobs:
6666
./install_requirements.sh > /dev/null
6767
cmake --preset ${{ matrix.preset }}
6868
cmake --build cmake-out --parallel
69+
70+
windows:
71+
uses: pytorch/test-infra/.github/workflows/windows_job.yml@windows-long-path
72+
strategy:
73+
fail-fast: false
74+
matrix:
75+
preset: [pybind]
76+
with:
77+
test-infra-ref: windows-long-path
78+
job-name: build
79+
ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }}
80+
submodules: recursive
81+
timeout: 90
82+
script: |
83+
set -eux
84+
85+
conda create --yes --quiet -n et python=3.12
86+
conda activate et
87+
88+
./install_requirements.sh
89+
90+
# Check if the file exists
91+
if [[ ! -f "shim/tools/build_defs/default_platform_defs.bzl" ]]; then
92+
echo "Error: shim/tools/build_defs/default_platform_defs.bzl file not found. Symlink issue?"
93+
exit 1
94+
else
95+
cat shim/tools/build_defs/default_platform_defs.bzl
96+
fi
97+
98+
99+
cmake --preset ${{ matrix.preset }}
100+
cmake --build cmake-out --parallel

0 commit comments

Comments
 (0)