From 1f52496f53ad0c59a18b71924225c2d4b1f6dae7 Mon Sep 17 00:00:00 2001 From: Diego Ferigo Date: Mon, 12 Apr 2021 11:53:44 +0200 Subject: [PATCH] Enable Ignition Gazebo in conda CI --- .github/workflows/ci.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3797d563b..7074e4e14 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -90,6 +90,8 @@ jobs: # Additional dependencies only useful on Linux # See https://github.com/robotology/robotology-superbuild/issues/477 mamba install expat-cos6-x86_64 freeglut libdc1394 libselinux-cos6-x86_64 libxau-cos6-x86_64 libxcb-cos6-x86_64 libxdamage-cos6-x86_64 libxext-cos6-x86_64 libxfixes-cos6-x86_64 libxxf86vm-cos6-x86_64 mesalib mesa-libgl-cos6-x86_64 + # Ignition Gazebo + mamba install libignition-gazebo4 - name: Configure [Conda/Linux&macOS] if: contains(matrix.os, 'macos') || contains(matrix.os, 'ubuntu') @@ -97,12 +99,17 @@ jobs: run: | mkdir -p build cd build - cmake -GNinja -C ${GITHUB_WORKSPACE}/.ci/initial-cache.gh.cmake -DYCM_EP_ADDITIONAL_CMAKE_ARGS:STRING="-DMatlab_ROOT_DIR:PATH=${GHA_Matlab_ROOT_DIR} -DMatlab_MEX_EXTENSION:STRING=${GHA_Matlab_MEX_EXTENSION}" -DROBOTOLOGY_USES_MATLAB:BOOL=ON -DNON_INTERACTIVE_BUILD:BOOL=TRUE -DCMAKE_BUILD_TYPE=${{ matrix.build_type }} ${{ matrix.project_tags_cmake_options }} .. + cmake -GNinja -C ${GITHUB_WORKSPACE}/.ci/initial-cache.gh.cmake -DYCM_EP_ADDITIONAL_CMAKE_ARGS:STRING="-DMatlab_ROOT_DIR:PATH=${GHA_Matlab_ROOT_DIR} -DMatlab_MEX_EXTENSION:STRING=${GHA_Matlab_MEX_EXTENSION}" -DROBOTOLOGY_USES_MATLAB:BOOL=ON -DNON_INTERACTIVE_BUILD:BOOL=TRUE -DCMAKE_BUILD_TYPE=${{ matrix.build_type }} ${{ matrix.project_tags_cmake_options }} .. # Disable options not tested on Conda for now # Reference issue: https://github.com/robotology/robotology-superbuild/issues/563 cmake -DROBOTOLOGY_USES_OCTAVE:BOOL=OFF . cat ./install/share/robotology-superbuild/setup.sh + - name: Configure Extra [Conda/Linux] + if: contains(matrix.os, 'ubuntu') + shell: bash -l {0} + run: cmake --build build/ -DROBOTOLOGY_USES_IGNITION:BOOL=ON + - name: Configure [Conda/Windows] if: contains(matrix.os, 'windows') # ROBOTOLOGY_ENABLE_ICUB_HEAD is disabled due to https://github.com/robotology/icub-main/issues/685