Skip to content

Commit

Permalink
Initial conda configurations import (pixi testing on github actions) (#…
Browse files Browse the repository at this point in the history
…1192)

* Initial conda configurations directories
* Add pixi testing in GitHub actions for conda legacy env

---------
Signed-off-by: Jose Luis Rivero <[email protected]>

* Use ogre 2.6.6

Signed-off-by: Jose Luis Rivero <[email protected]>

* Do not include conda yaml

Signed-off-by: Jose Luis Rivero <[email protected]>

* Remove unnedded dependencies

Signed-off-by: Jose Luis Rivero <[email protected]>

* Update README.md

* Run pixi update

Signed-off-by: Jose Luis Rivero <[email protected]>

* Disable duplicate call on github action

Signed-off-by: Jose Luis Rivero <[email protected]>

---------

Signed-off-by: Jose Luis Rivero <[email protected]>
  • Loading branch information
j-rivero authored Nov 12, 2024
1 parent bc90c2a commit 3233d74
Show file tree
Hide file tree
Showing 4 changed files with 13,355 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/ci-pixi.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Conda env testing

on:
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
37 changes: 37 additions & 0 deletions conda/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
# 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.

The legacy enviroment is locked to use always the same exact set of
version dependencies.
Loading

0 comments on commit 3233d74

Please sign in to comment.