Skip to content

Commit d354c72

Browse files
committed
windows ci
1 parent 1b063ca commit d354c72

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

.github/workflows/build-presets.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,3 +66,22 @@ 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@main
72+
strategy:
73+
fail-fast: false
74+
matrix:
75+
preset: [pybind]
76+
with:
77+
job-name: build
78+
ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }}
79+
submodules: recursive
80+
timeout: 90
81+
script: |
82+
set -eux
83+
powershell -Command "& {
84+
C:\Jenkins\Miniconda3\Scripts\conda.exe create --yes --quiet -n et python=3.12
85+
C:\Jenkins\Miniconda3\Scripts\conda.exe activate et
86+
Write-Output "ok jathu done"
87+
}"

0 commit comments

Comments
 (0)