File tree Expand file tree Collapse file tree 1 file changed +10
-8
lines changed
Expand file tree Collapse file tree 1 file changed +10
-8
lines changed Original file line number Diff line number Diff line change @@ -152,6 +152,16 @@ jobs:
152152 cmake -DCMAKE_PREFIX_PATH=${GITHUB_WORKSPACE}/install -DCMAKE_INSTALL_PREFIX=${GITHUB_WORKSPACE}/install ..
153153 cmake --build . --config ${{ matrix.build_type }} --target install
154154
155+ - name : Extend Path
156+ shell : bash
157+ run : |
158+ echo "${{ github.workspace }}/install/bin" >> $GITHUB_PATH
159+ echo "${{ github.workspace }}/install/lib/yarp" >> $GITHUB_PATH
160+ # Fix for using YARP idl generators (that link ACE) in Windows (https://github.com/robotology/idyntree/issues/569)
161+ if [[ "${{ matrix.os }}" == "windows-latest" ]]; then
162+ echo "${VCPKG_INSTALLATION_ROOT}/installed/x64-windows/bin" >> $GITHUB_PATH
163+ fi
164+
155165 # ===================
156166 # CMAKE-BASED PROJECT
157167 # ===================
@@ -189,14 +199,6 @@ jobs:
189199 # Enable ICUB_COMPILE_BINDINGS in Ubuntu
190200 cmake -DICUB_COMPILE_BINDINGS:BOOL=ON -DCREATE_PYTHON:BOOL=ON .
191201
192- - name : Extend Path
193- shell : bash
194- run : |
195- echo "${{ github.workspace }}/install/bin" >> $GITHUB_PATH
196- echo "${{ github.workspace }}/install/lib/yarp" >> $GITHUB_PATH
197- # Fix for using YARP idl generators (that link ACE) in Windows (https://github.com/robotology/idyntree/issues/569)
198- echo "${VCPKG_INSTALLATION_ROOT}/installed/x64-windows/bin" >> $GITHUB_PATH
199-
200202 - name : Build
201203 shell : bash
202204 run : |
You can’t perform that action at this time.
0 commit comments