-
Notifications
You must be signed in to change notification settings - Fork 9
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
Initial conda configurations import (pixi testing on github actions) #1192
Merged
Merged
Changes from 4 commits
Commits
Show all changes
10 commits
Select commit
Hold shift + click to select a range
1d87d04
Initial conda configurations directories
j-rivero 4def3e4
Merge branch 'master' into jrivero/conda_configs
j-rivero 3ea958d
Add pixi testing in GitHub actions for conda legacy env
j-rivero 211a78a
Use ogre 2.6.6
j-rivero a03aa1f
Do not include conda yaml
j-rivero a8a8267
Remove unnedded dependencies
j-rivero 0b88f9e
Update README.md
j-rivero 9605cc5
Run pixi update
j-rivero 5100e9d
Disable duplicate call on github action
j-rivero 370f8c1
Merge branch 'master' into jrivero/conda_configs
j-rivero File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
name: Conda env testing | ||
|
||
on: | ||
pull_request: | ||
push: | ||
paths: | ||
- 'conda/envs/legacy/**' | ||
|
||
jobs: | ||
legacy_pixi_test: | ||
runs-on: ubuntu-latest | ||
name: Legacy Pixi | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
- name: Install pixi | ||
uses: prefix-dev/setup-pixi@ba3bb36eb2066252b2363392b7739741bb777659 # v0.8.1 | ||
with: | ||
locked: true | ||
cache: false # 10Gb limit might be too low for caching | ||
manifest-path: conda/envs/legacy/pixi.toml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
# Conda configurations and tools for Gazebo | ||
|
||
This repository hosts the Conda related configurations and files used | ||
by the Gazebo project. | ||
|
||
> [!IMPORTANT] | ||
> Currently the Gazebo project is only using Conda for supporting the | ||
> build on Windows. The builds or Conda packages can perfectly work | ||
> on different platforms but the core team is not actively testing | ||
> them. | ||
|
||
## The envs/ (environments) directory | ||
|
||
The environments directory hosts the Conda environments and Pixi projects | ||
configurations used for different combinations of Gazebo distributions. | ||
|
||
## Create environments with Pixi | ||
|
||
[Pixi](https://prefix.dev/) can be used to recreate a Gazebo development | ||
environment. Navigate to the right subdirectory under `envs/` where the | ||
`pixi.lock` and `pixi.toml` files are located and run: | ||
|
||
```bash | ||
pixi install --locked | ||
``` | ||
|
||
## Environments available | ||
|
||
### The legacy environment | ||
|
||
The legacy environment has the goal of replacing the previous vcpkg | ||
installation used by the Gazebo Buildfarm for testing Garden, Harmonic | ||
and Ionic. The software versions chosen are mostly based on the Ubuntu | ||
Jammy versions. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
name: gazebo | ||
channels: | ||
- conda-forge | ||
platforms: | ||
- win-64 | ||
dependencies: | ||
# Not in vcpkg | ||
- python=3.9 | ||
- colcon-common-extensions | ||
- vcstool | ||
- ruby=3.2 # version in noble | ||
- pkg-config # for ogre-next detection in rendering | ||
- cmake=3.28.3 # version in Noble | ||
- dartsim=6.13.2 # version in Noble | ||
# | ||
# X stack on Linux | ||
# - libglu | ||
# - libglvnd-devel-cos7-x86_64 | ||
# - libwebsockets | ||
# - mesa-libegl-devel-cos7-x86_64 | ||
# - mesa-libgl-devel-cos7-x86_64 | ||
# - vulkan-headers | ||
# | ||
# VCPKG_DEPENDENCIES_LEGACY block: | ||
- assimp | ||
- boost-cpp=1.78.0 | ||
- bullet-cpp | ||
- libccd-double | ||
# - console-bridge #not in conda | ||
- cppzmq | ||
- cuda | ||
- curl | ||
- dlfcn-win32 # win | ||
- eigen | ||
- fcl=0.7.0 | ||
- ffmpeg | ||
- freeimage | ||
- gdal | ||
- gflags | ||
- glib | ||
- gts | ||
- jsoncpp | ||
- yaml | ||
- libzip | ||
- ogre=1.10.12.1 | ||
- ogre-next=2.3.3 # version in Noble | ||
- openssl | ||
- protobuf | ||
- libprotobuf | ||
- pybind11 | ||
- qt-main | ||
- qwt | ||
- libsqlite | ||
- tinyxml2 | ||
- zeromq |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this file necessary if we have the
pixi.toml
file?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It is not in use by us. It was the first file designed to work with the other mamba/micromamba/conda package managers. We could just remove it if we are not going to use it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd rather avoid duplicating the information unless it's truly necessary.