Skip to content

Commit 88f90f7

Browse files
committed
Install all dependencies in one go. Try run the last command in cmd shell.
1 parent 980de3f commit 88f90f7

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

.github/workflows/build-pcl.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -256,10 +256,8 @@ jobs:
256256
- name: Install dependencies via vcpkg
257257
shell: pwsh
258258
run: |
259-
$packages = @('boost','eigen3','flann','qhull','cjson','gtest')
259+
$packages = @('boost','eigen3','flann','qhull','cjson','gtest','vtk','glew','freeglut')
260260
foreach ($p in $packages) { & "$Env:VCPKG_ROOT\vcpkg.exe" install "$($p):$Env:VCPKG_TRIPLET" }
261-
$optional = @('vtk','glew','freeglut')
262-
foreach ($p in $optional) { & "$Env:VCPKG_ROOT\vcpkg.exe" install "$($p):$Env:VCPKG_TRIPLET" || echo "Optional $p failed" }
263261
- name: Configure (${{ matrix.name }})
264262
shell: cmd
265263
run: |
@@ -276,8 +274,11 @@ jobs:
276274
-DBUILD_tools=%IS_MAIN% ^
277275
-DPCL_DISABLE_VISUALIZATION_TESTS=ON
278276
- name: Build (${{ matrix.name }})
277+
shell: cmd
279278
run: cmake --build build --config %CONFIGURATION%
280279
- name: Build tests target (${{ matrix.name }})
280+
shell: cmd
281281
run: cmake --build build --target tests --config %CONFIGURATION%
282282
- name: Run ctest (${{ matrix.name }})
283+
shell: cmd
283284
run: ctest --test-dir build --config %CONFIGURATION% --output-on-failure

0 commit comments

Comments
 (0)