From ed4121a5eb0a9d8009ab466317058f8fbd6272cb Mon Sep 17 00:00:00 2001 From: Silvio Traversaro Date: Wed, 27 Nov 2024 15:00:24 +0100 Subject: [PATCH] Switch from mamba to conda in CI and start using libgl-devel to use OpenGL --- .github/workflows/conda-forge-ci.yml | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/.github/workflows/conda-forge-ci.yml b/.github/workflows/conda-forge-ci.yml index 0a7fa28..860e1db 100644 --- a/.github/workflows/conda-forge-ci.yml +++ b/.github/workflows/conda-forge-ci.yml @@ -16,7 +16,7 @@ jobs: matrix: build_type: [Release] os: [ubuntu-latest, windows-2019, macos-latest] - imgui: [mamba, vendored] + imgui: [conda, vendored] fail-fast: false steps: @@ -30,24 +30,22 @@ jobs: shell: bash -l {0} run: | # Compilation related dependencies - mamba install cmake compilers make ninja pkg-config + conda install cmake compilers make ninja pkg-config # Actual dependencies - mamba install glew glfw yarp + conda install glew glfw yarp - name: Imgui - if: contains(matrix.imgui, 'mamba') + if: contains(matrix.imgui, 'conda') shell: bash -l {0} run: | - mamba install imgui + conda install imgui - name: OpenGL [Linux] if: contains(matrix.os, 'ubuntu') shell: bash -l {0} run: | - # OpenGL is not found on Ubuntu when using conda. Related issue https://github.com/robotology/robotology-superbuild/issues/929 - # See https://github.com/robotology/robotology-superbuild/issues/477 - # See https://github.com/robotology/robotology-superbuild/pull/1606 - mamba install expat freeglut libselinux-cos7-x86_64 xorg-libxau libxcb xorg-libxdamage xorg-libxext xorg-libxfixes xorg-libxxf86vm xorg-libxrandr mesa-libgl-cos7-x86_64 mesa-libgl-devel-cos7-x86_64 + # On linux we need to install libgl-devel + conda install libgl-devel - name: Configure [Linux, macOS] if: contains(matrix.os, 'ubuntu') || contains(matrix.os, 'macos')