Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switch from mamba to conda in CI and start using libgl-devel to use OpenGL #9

Merged
merged 1 commit into from
Nov 27, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 7 additions & 9 deletions .github/workflows/conda-forge-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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')
Expand Down
Loading