Skip to content

Commit c7d202e

Browse files
committed
Add CI for Gazebo
1 parent 49e851b commit c7d202e

File tree

3 files changed

+12488
-3088
lines changed

3 files changed

+12488
-3088
lines changed

.github/workflows/ci_gazebo.yml

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
# https://help.github.com/en/articles/workflow-syntax-for-github-actions
2+
3+
name: CI Gazebo
4+
5+
on:
6+
push:
7+
branches:
8+
- "**"
9+
paths-ignore:
10+
- ".github/workflows/cache_*.yml"
11+
- "docker/dev/**"
12+
pull_request:
13+
branches:
14+
- "**"
15+
paths-ignore:
16+
- ".github/workflows/cache_*.yml"
17+
- "docker/dev/**"
18+
schedule:
19+
# Cron syntax: [minute hour day_of_the_month month day_of_the_week]
20+
- cron: "0 2 * * 0,3" # Run every Sunday and Wednesday at 02:00
21+
workflow_dispatch:
22+
23+
jobs:
24+
test_gazebo:
25+
name: ${{ matrix.os }}
26+
runs-on: ${{ matrix.os }}
27+
strategy:
28+
fail-fast: false
29+
matrix:
30+
os: [ubuntu-latest, windows-latest, macos-latest]
31+
steps:
32+
- name: Checkout
33+
uses: actions/checkout@v4
34+
35+
- name: Setup pixi
36+
uses: prefix-dev/setup-pixi@v0.8.1
37+
with:
38+
cache: true
39+
40+
- if: ${{ contains(matrix.os, 'ubuntu') }}
41+
uses: awalsh128/cache-apt-pkgs-action@v1.4.2
42+
with:
43+
packages: libgl1-mesa-dev libglu1-mesa-dev
44+
version: 1.0
45+
46+
- name: Test Gazebo
47+
run: |
48+
pixi r -e gazebo test-gz

0 commit comments

Comments
 (0)