Skip to content

Commit

Permalink
Merge branch 'master' into jrivero/pixi_on_master
Browse files Browse the repository at this point in the history
  • Loading branch information
j-rivero authored Jan 17, 2025
2 parents b6bcd51 + 4b681b5 commit 975b80f
Show file tree
Hide file tree
Showing 5 changed files with 13,852 additions and 9 deletions.
40 changes: 35 additions & 5 deletions .github/workflows/ci-pixi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,20 +3,50 @@ name: Conda env testing
on:
push:
paths:
- 'conda/envs/legacy/**'
- 'conda/envs/**'

jobs:
legacy_pixi_test:
detection:
runs-on: ubuntu-latest
name: Legacy Pixi
outputs:
toml_file: ${{ steps.changed-toml-files.outputs.toml_file }}
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Get changed files
id: changed-files
uses: tj-actions/changed-files@d6e91a2266cdb9d62096cebf1e8546899c6aa18f # v45.0.6
- name: List all changed files
id: changed-toml-files
env:
ALL_CHANGED_FILES: ${{ steps.changed-files.outputs.all_changed_files }}
run: |
ALL_TOML_FILES=""
for file in ${ALL_CHANGED_FILES}; do
if [[ $file == *.toml ]]; then
ALL_TOML_FILES="$ALL_TOML_FILES $file"
fi
done
ALL_TOML_FILES=${ALL_TOML_FILES# }
echo "All TOML files: ${ALL_TOML_FILES}"
JSON_ALL_TOML="{ \"toml_file\": $(echo [\"$(sed 's/ /","/g' <<< ${ALL_TOML_FILES})\"])}"
echo "::set-output name=toml_file::$JSON_ALL_TOML"
pixi_builder:
name: Pixi builder
needs: detection
runs-on: ubuntu-latest
strategy:
matrix: ${{ fromJSON(needs.detection.outputs.toml_file) }}
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Install pixi
- name: Install dependencies using pixi on ${{ matrix.toml_file }}
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
manifest-path: ${{ matrix.toml_file }}
12 changes: 8 additions & 4 deletions conda/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,16 @@ pixi install --locked

## Environments available

### The legacy environment
### The legacy environments

The legacy environment has the goal of replacing the previous vcpkg
installation used by the Gazebo Buildfarm for testing Garden, Harmonic
The legacy environments has the goal of replacing the previous vcpkg
installation used by the Gazebo Buildfarm for testing Fortress, 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
The legacy enviroments are locked to use always the same exact set of
version dependencies.

Harmonic and Ionic uses the legacy_ogre23 enviroments which is a variant
of what vcpkg packages had providing an upgrade on ogre-next from 2.2 to
2.3.
2 changes: 2 additions & 0 deletions conda/envs/legacy/pixi.toml
Original file line number Diff line number Diff line change
Expand Up @@ -59,3 +59,5 @@ cmake = "3.28.3.*"
colcon-common-extensions = "*"
pkg-config = "*"
vcstool = "*"

# test
Loading

0 comments on commit 975b80f

Please sign in to comment.