Skip to content

Commit 23ab855

Browse files
authored
ci: test gz-physics integration (#2000)
1 parent e538a55 commit 23ab855

File tree

4 files changed

+11448
-2658
lines changed

4 files changed

+11448
-2658
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.14
33+
with:
34+
cache: true
35+
36+
- name: Install apt packages
37+
uses: awalsh128/cache-apt-pkgs-action@v1.5.1
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

.gitignore

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,9 @@ docs/readthedocs/site
6161
# Data files
6262
data/screencap/*
6363

64+
# Temporary directory for dependencies
65+
.deps/
66+
6467
# Python distribution artifacts
6568
dist/
6669
*.egg-info
@@ -75,4 +78,20 @@ dist/
7578
imgui.ini
7679

7780
# Temporary directory for dependencies
78-
.deps
81+
.deps/
82+
83+
# Gazebo physics plugins
84+
/libgz-physics-*.so
85+
86+
# Python distribution artifacts
87+
dist/
88+
*.egg-info
89+
90+
# Python wheel files
91+
*.whl
92+
93+
# pixi environments
94+
.pixi
95+
96+
# ImGui configuration
97+
imgui.ini

0 commit comments

Comments
 (0)