Skip to content

Add support for both Gazebo Harmonic (gz-sim8) and Gazebo Ionic (gz-sim9) #18

Add support for both Gazebo Harmonic (gz-sim8) and Gazebo Ionic (gz-sim9)

Add support for both Gazebo Harmonic (gz-sim8) and Gazebo Ionic (gz-sim9) #18

Workflow file for this run

name: Run tests with pixi
on:
workflow_dispatch:
pull_request:
jobs:
pixi-test:
name: '[pixi:${{ matrix.os }}:env:${{ matrix.pixi_env }}]'
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [
ubuntu-22.04,
macos-latest,
# Disabled until https://github.com/robotology/gz-sim-yarp-plugins/issues/205 is fixed
# windows-2019
]
pixi_env: [
default,
ionic
]
steps:
- uses: actions/checkout@v4
- name: Install mesa (software only) OpenGL driver
if: contains(matrix.os, 'ubuntu')
shell: bash
run: |
sudo apt-get update
# See https://github.com/robotology/gz-sim-yarp-plugins/pull/214#issuecomment-2387088665
sudo apt install libegl-mesa0 libgl1-mesa-dri
- name: Set up pixi
uses: prefix-dev/[email protected]
with:
run-install: true
cache: false
- name: Print pixi info
run: pixi info
- name: Run tests
run: pixi run -e ${{ matrix.pixi_env }} test