Skip to content

Commit

Permalink
Add PCL visualization feature and fix build (#54)
Browse files Browse the repository at this point in the history
  • Loading branch information
traversaro authored Sep 16, 2022
1 parent f4ba924 commit ba01bf1
Showing 1 changed file with 37 additions and 1 deletion.
38 changes: 37 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,15 @@ jobs:
- name: Override bash shell PATH (windows-latest)
run: echo "C:\Program Files\Git\bin" >> $GITHUB_PATH

- name: Avoid conflicts with vcpkg in C:\vcpkg
shell: bash
run: |
# Print environment variables for debug
env
# Avoid conflicts with vcpkg in C:\vcpkg
rm -rf C:/vcpkg
echo "VCPKG_ROOT=C:/robotology/vcpkg" >> $GITHUB_ENV
- name: Download custom vcpkg and additional ports
shell: bash
run: |
Expand Down Expand Up @@ -119,6 +128,15 @@ jobs:
run: |
df -h
- name: Avoid conflicts with vcpkg in C:\vcpkg
shell: bash
run: |
# Print environment variables for debug
env
# Avoid conflicts with vcpkg in C:\vcpkg
rm -rf C:/vcpkg
echo "VCPKG_ROOT=C:/robotology/vcpkg" >> $GITHUB_ENV
- name: Install vcpkg ports
shell: bash
run: |
Expand Down Expand Up @@ -184,11 +202,20 @@ jobs:
run: |
df -h
- name: Avoid conflicts with vcpkg in C:\vcpkg
shell: bash
run: |
# Print environment variables for debug
env
# Avoid conflicts with vcpkg in C:\vcpkg
rm -rf C:/vcpkg
echo "VCPKG_ROOT=C:/robotology/vcpkg" >> $GITHUB_ENV
- name: Install vcpkg ports
shell: bash
run: |
# Install dependencies for gazebo11
C:/robotology/vcpkg/vcpkg.exe --overlay-ports=C:/robotology/robotology-vcpkg-ports --overlay-ports=${GITHUB_WORKSPACE}/custom-ports install --triplet x64-windows boost-circular-buffer boost-asio boost-any boost-date-time boost-filesystem boost-format boost-interprocess boost-iostreams boost-program-options boost-property-tree boost-regex boost-smart-ptr boost-system boost-thread boost-variant boost-uuid bullet3 cppzmq curl dlfcn-win32 freeimage gts libyaml libzip jsoncpp ogre[core,assimp,freeimage,overlay,zziplib] protobuf qt5-base qwt sqlite3[core,tool] tbb tinyxml2 urdfdom zeromq ignition-cmake2 ignition-common3 ignition-fuel-tools4 ignition-math6 ignition-msgs5 ignition-transport8 sdformat9 pcl
C:/robotology/vcpkg/vcpkg.exe --overlay-ports=C:/robotology/robotology-vcpkg-ports --overlay-ports=${GITHUB_WORKSPACE}/custom-ports install --triplet x64-windows boost-circular-buffer boost-asio boost-any boost-date-time boost-filesystem boost-format boost-interprocess boost-iostreams boost-program-options boost-property-tree boost-regex boost-smart-ptr boost-system boost-thread boost-variant boost-uuid bullet3 cppzmq curl dlfcn-win32 freeimage gts libyaml libzip jsoncpp ogre[core,assimp,freeimage,overlay,zziplib] protobuf qt5-base qwt sqlite3[core,tool] tbb tinyxml2 urdfdom zeromq ignition-cmake2 ignition-common3 ignition-fuel-tools4 ignition-math6 ignition-msgs5 ignition-transport8 sdformat9 pcl[visualization] vtk
C:/robotology/vcpkg/vcpkg.exe list
# Remove temporary files https://github.com/Microsoft/vcpkg/blob/master/docs/about/faq.md#how-can-i-remove-temporary-files
Expand Down Expand Up @@ -244,6 +271,15 @@ jobs:
run: |
pip install vcstool colcon-common-extensions
- name: Avoid conflicts with vcpkg in C:\vcpkg
shell: bash
run: |
# Print environment variables for debug
env
# Avoid conflicts with vcpkg in C:\vcpkg
rm -rf C:/vcpkg
echo "VCPKG_ROOT=C:/robotology/vcpkg" >> $GITHUB_ENV
# Based on https://colcon.readthedocs.io/en/released/user/quick-start.html#build-gazebo-and-the-ignition-packages
- name: Download Gazebo and related libraries
shell: bash
Expand Down

0 comments on commit ba01bf1

Please sign in to comment.