Skip to content

Commit

Permalink
Merge branch 'master' into devel
Browse files Browse the repository at this point in the history
  • Loading branch information
traversaro committed Dec 21, 2021
2 parents f71b2f7 + ab0306a commit b5a788c
Showing 1 changed file with 1 addition and 52 deletions.
53 changes: 1 addition & 52 deletions .github/workflows/conda-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
# Compilation related dependencies
mamba install cmake compilers make ninja pkg-config
# Actual dependencies
mamba install -c conda-forge gazebo opencv
mamba install -c conda-forge -c robotology yarp gazebo
# Additional dependencies useful only on Linux
- name: Dependencies [Conda/Linux]
Expand All @@ -48,57 +48,6 @@ jobs:
# See https://github.com/robotology/robotology-superbuild/issues/477
mamba install expat-cos7-x86_64 libselinux-cos7-x86_64 libxau-cos7-x86_64 libxcb-cos7-x86_64 libxdamage-cos7-x86_64 libxext-cos7-x86_64 libxfixes-cos7-x86_64 libxxf86vm-cos7-x86_64 mesa-libgl-devel-cos7-x86_64 libxshmfence-cos7-x86_64 libxshmfence-devel-cos7-x86_64
- name: Dependencies (master)
if: |
(github.event_name == 'pull_request' && env.GITHUB_BASE_REF_SLUG == 'master') ||
env.GITHUB_REF_SLUG == 'master'
shell: bash -l {0}
run: |
# Actual dependencies
mamba install -c conda-forge -c robotology yarp
- name: Dependencies (devel) [Conda/Linux&macOS]
if: |
contains(matrix.os, 'macos') || contains(matrix.os, 'ubuntu') &&
((github.event_name == 'pull_request' && env.GITHUB_BASE_REF_SLUG != 'master') ||
(github.event_name != 'pull_request' && env.GITHUB_REF_SLUG != 'master'))
shell: bash -l {0}
run: |
# YARP & iDynTree dependencies
mamba install -c conda-forge ace eigen ycm-cmake-modules
#YARP
cd ${GITHUB_WORKSPACE}
git clone https://github.com/robotology/yarp
cd yarp
mkdir build
cd build
cmake -GNinja -DCMAKE_INSTALL_PREFIX=${CONDA_PREFIX} -DCMAKE_BUILD_TYPE=${{ matrix.build_type }} ..
cmake --build . --config ${{ matrix.build_type }}
cmake --install . --config ${{ matrix.build_type }}
- name: Dependencies (devel) [Conda/Windows]
if: |
contains(matrix.os, 'windows') &&
((github.event_name == 'pull_request' && env.GITHUB_BASE_REF_SLUG != 'master') ||
(github.event_name != 'pull_request' && env.GITHUB_REF_SLUG != 'master'))
shell: bash -l {0}
run: |
# YARP & iDynTree dependencies
mamba install -c conda-forge ace eigen ycm-cmake-modules
#YARP
cd ${GITHUB_WORKSPACE}
git clone https://github.com/robotology/yarp
cd yarp
mkdir build
cd build
cmake -G"Visual Studio 16 2019" -DCMAKE_INSTALL_PREFIX=${CONDA_PREFIX}/Library -DCMAKE_BUILD_TYPE=${{ matrix.build_type }} ..
cmake --build . --config ${{ matrix.build_type }}
cmake --install . --config ${{ matrix.build_type }}
- name: Configure [Linux&macOS]
if: contains(matrix.os, 'macos') || contains(matrix.os, 'ubuntu')
shell: bash -l {0}
Expand Down

0 comments on commit b5a788c

Please sign in to comment.