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

Merge the modifications of #9 in main #10

Merged
merged 3 commits into from
Nov 27, 2024
Merged
Show file tree
Hide file tree
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
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ https://github.com/ami-iit/yarp-device-keyboard-joypad/assets/18591940/7717159e-
- ``GLEW``
- [``imgui``](https://github.com/ocornut/imgui) (Will be downloaded automatically if not found)

The dependencies can also be installed via [``mamba``](https://github.com/mamba-org/mamba) using the following command:
The dependencies can also be installed via ``conda``. If you do not have a ``conda`` distribution on your system, we suggest using the minimal [``miniforge``](https://github.com/conda-forge/miniforge) distribution, that uses ``conda-forge`` packages by default.
```bash
mamba install cmake compilers make ninja pkg-config glew glfw yarp imgui
conda install cmake compilers make ninja pkg-config glew glfw yarp imgui
```

## Configuration parameters
Expand Down
Loading