-
Notifications
You must be signed in to change notification settings - Fork 2
46 lines (39 loc) · 1.06 KB
/
test-pixi.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
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