96
96
uses : actions/setup-python@v5
97
97
with :
98
98
python-version : 3.8
99
+
100
+ - name : Checkout Open3D-ML
101
+ uses : actions/checkout@v4
102
+ with :
103
+ repository : isl-org/Open3D-ML
104
+ path : open3d_ml
105
+
106
+ - name : Install PyTorch requirements
107
+ run : |
108
+ if (${{ matrix.BUILD_CUDA_MODULE == 'ON' }}) {
109
+ python -m pip install -r open3d_ml/requirements-torch-cuda.txt
110
+ } else {
111
+ python -m pip install -r open3d_ml/requirements-torch.txt
112
+ }
99
113
100
114
- name : Config
101
115
# Move build directory to C: https://github.com/actions/virtual-environments/issues/1341
@@ -119,6 +133,7 @@ jobs:
119
133
-DBUILD_WEBRTC=${{ env.BUILD_WEBRTC }} `
120
134
-DBUILD_UNIT_TESTS=ON `
121
135
-DBUILD_CUDA_MODULE=${{ matrix.BUILD_CUDA_MODULE }} `
136
+ -DBUILD_PYTORCH_OPS=ON `
122
137
${{ env.SRC_DIR }}
123
138
124
139
- name : Build
@@ -202,7 +217,7 @@ jobs:
202
217
$ErrorActionPreference = 'Stop'
203
218
mkdir build
204
219
cd build
205
- cmake -G "Visual Studio 16 2019 " -A x64 `
220
+ cmake -G "Visual Studio 17 2022 " -A x64 `
206
221
-DCMAKE_INSTALL_PREFIX="C:\Program Files\Open3D" `
207
222
-DSTATIC_WINDOWS_RUNTIME=${{ matrix.STATIC_RUNTIME }} `
208
223
..
@@ -214,7 +229,7 @@ jobs:
214
229
run : |
215
230
$ErrorActionPreference = 'Stop'
216
231
python -m pip install -U pip==${{ env.PIP_VER }}
217
- python -m pip install -U -c python/requirements_build.txt wheel setuptools
232
+ python -m pip install -U -r python/requirements_build.txt
218
233
- name : Install Python package
219
234
working-directory : ${{ env.BUILD_DIR }}
220
235
run : |
@@ -274,16 +289,6 @@ jobs:
274
289
python -m pip install maturin==1.7.8
275
290
python -m pip install -r python/requirements.txt
276
291
python -m pip install -r python/requirements_jupyter_build.txt
277
-
278
- - name : Checkout Open3D-ML
279
- uses : actions/checkout@v4
280
- with :
281
- repository : isl-org/Open3D-ML
282
- path : open3d_ml
283
-
284
- - name : Install PyTorch requirements
285
- run : |
286
- python -m pip install -r open3d_ml/requirements-torch.txt
287
292
288
293
- name : Config
289
294
run : |
@@ -304,7 +309,6 @@ jobs:
304
309
-DBUILD_LIBREALSENSE=ON `
305
310
-DBUILD_WEBRTC=ON `
306
311
-DBUILD_JUPYTER_EXTENSION=ON `
307
- -DBUILD_PYTORCH_OPS=ON `
308
312
${{ env.SRC_DIR }}
309
313
310
314
- name : Install Open3D python build requirements
0 commit comments