mirror of
https://github.com/modelec/modelec-marcel-ROS.git
synced 2026-01-18 16:47:43 +01:00
Updated the GitHub Actions workflow to include a build job for macOS and Windows, and added a separate Docker build job.
31 lines
601 B
YAML
31 lines
601 B
YAML
name: ROS2 Build & Test
|
|
|
|
on:
|
|
push:
|
|
branches: [ main ]
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ${{ matrix.os }}
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
os: [macOS-latest, windows-latest]
|
|
steps:
|
|
- name: Setup ROS
|
|
uses: ros-tooling/setup-ros@v0.7
|
|
with:
|
|
required-ros-distributions: jazzy
|
|
- run: vcs --help
|
|
|
|
build_docker:
|
|
runs-on: ubuntu-latest
|
|
container:
|
|
image: ubuntu:noble
|
|
steps:
|
|
- name: Setup ROS
|
|
uses: ros-tooling/setup-ros@v0.7
|
|
with:
|
|
required-ros-distributions: jazzy
|
|
- run: vcs --help
|