Skip to content

Commit

Permalink
Merge pull request #1 from robotology/yarp-ros
Browse files Browse the repository at this point in the history
yarp-ros version
  • Loading branch information
randaz81 authored Nov 28, 2023
2 parents 1a4cdfb + 907b855 commit ebcd47c
Showing 1 changed file with 21 additions and 3 deletions.
24 changes: 21 additions & 3 deletions .github/workflows/conda-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,9 +84,6 @@ jobs:
run: |
cd ${GITHUB_WORKSPACE}
git clone https://github.com/robotology/yarp
#the next git switch command will be removed after the branch is merged into master
#cd yarp
#git switch origin/yarp_no_ros --detach
- name: Configure and build yarp [Linux&macOS]
if: contains(matrix.os, 'macos') || contains(matrix.os, 'ubuntu')
Expand All @@ -104,6 +101,27 @@ jobs:
cmake --install . --config ${{ matrix.build_type }}
echo "YARP_DATA_DIRS=${CONDA_PREFIX}/share/yarp::${YARP_DATA_DIRS}" >> $GITHUB_ENV
- name: Download Yarp-ros [Linux&macOS]
if: contains(matrix.os, 'macos') || contains(matrix.os, 'ubuntu')
run: |
cd ${GITHUB_WORKSPACE}
git clone https://github.com/robotology/yarp-ros
- name: Configure and build yarp-ros [Linux&macOS]
if: contains(matrix.os, 'macos') || contains(matrix.os, 'ubuntu')
shell: bash -l {0}
run: |
cd ${GITHUB_WORKSPACE}
cd yarp-ros
mkdir build
cd build
cmake -GNinja -DCMAKE_INSTALL_PREFIX=${CONDA_PREFIX} \
-DCMAKE_BUILD_TYPE=${{ matrix.build_type }} .. \
-DYARP_COMPILE_TESTS:BOOL=ON
cmake --build . --config ${{ matrix.build_type }}
cmake --install . --config ${{ matrix.build_type }}
echo "YARP_DATA_DIRS=${CONDA_PREFIX}/share/yarp::${YARP_DATA_DIRS}" >> $GITHUB_ENV
- name: Configure yarp-devices-ros [Linux&macOS]
if: contains(matrix.os, 'macos') || contains(matrix.os, 'ubuntu')
shell: bash -l {0}
Expand Down

0 comments on commit ebcd47c

Please sign in to comment.