File tree Expand file tree Collapse file tree 1 file changed +32
-0
lines changed Expand file tree Collapse file tree 1 file changed +32
-0
lines changed Original file line number Diff line number Diff line change 66
66
./install_requirements.sh > /dev/null
67
67
cmake --preset ${{ matrix.preset }}
68
68
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
You can’t perform that action at this time.
0 commit comments