Skip to content

Commit

Permalink
Add CI for Gazebo
Browse files Browse the repository at this point in the history
  • Loading branch information
jslee02 committed Nov 10, 2024
1 parent 4b5b6a8 commit 09630c6
Show file tree
Hide file tree
Showing 3 changed files with 3,385 additions and 56 deletions.
48 changes: 48 additions & 0 deletions .github/workflows/ci_gazebo.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
# https://help.github.com/en/articles/workflow-syntax-for-github-actions

name: CI Gazebo

on:
push:
branches:
- "**"
paths-ignore:
- ".github/workflows/cache_*.yml"
- "docker/dev/**"
pull_request:
branches:
- "**"
paths-ignore:
- ".github/workflows/cache_*.yml"
- "docker/dev/**"
schedule:
# Cron syntax: [minute hour day_of_the_month month day_of_the_week]
- cron: "0 2 * * 0,3" # Run every Sunday and Wednesday at 02:00
workflow_dispatch:

jobs:
test_gazebo:
name: ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Setup pixi
uses: prefix-dev/[email protected]
with:
cache: true

- if: ${{ contains(matrix.os, 'ubuntu') }}
uses: awalsh128/[email protected]
with:
packages: libgl1-mesa-dev libglu1-mesa-dev
version: 1.0

- name: Test Gazebo
run: |
pixi r -e gazebo test-gz
Loading

0 comments on commit 09630c6

Please sign in to comment.