Skip to content

Commit 0d4c7f7

Browse files
committed
ci: test gz-physics integration
1 parent bb22c6e commit 0d4c7f7

File tree

3 files changed

+11350
-2574
lines changed

3 files changed

+11350
-2574
lines changed
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
# https://help.github.com/en/articles/workflow-syntax-for-github-actions
2+
3+
name: CI gz-physics
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: ubuntu-latest
26+
runs-on: ubuntu-latest
27+
steps:
28+
- name: Checkout
29+
uses: actions/checkout@v4
30+
31+
- name: Setup pixi
32+
uses: prefix-dev/setup-pixi@v0.8.1
33+
with:
34+
cache: true
35+
36+
- name: Install apt packages
37+
uses: awalsh128/cache-apt-pkgs-action@v1.4.2
38+
with:
39+
packages: libgl1-mesa-dev libglu1-mesa-dev
40+
version: 1.0
41+
42+
- name: Test gz-physics
43+
run: |
44+
pixi r -e gazebo test-gz

0 commit comments

Comments
 (0)