mirror of
https://github.com/orbbec/OrbbecSDK_ROS2.git
synced 2026-10-11 15:09:48 +08:00
colcon workflow
This commit is contained in:
@@ -0,0 +1,28 @@
|
|||||||
|
name: colcon
|
||||||
|
|
||||||
|
on: [push, pull_request]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
# build on Ubuntu docker images
|
||||||
|
build:
|
||||||
|
name: "${{ matrix.image }} (${{ matrix.ros }})"
|
||||||
|
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
include:
|
||||||
|
- {image: "ubuntu:22.04", ros: humble}
|
||||||
|
- {image: "ubuntu:24.04", ros: jazzy}
|
||||||
|
|
||||||
|
container:
|
||||||
|
image: ${{ matrix.image }}
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v6
|
||||||
|
|
||||||
|
- uses: ros-tooling/[email protected]
|
||||||
|
|
||||||
|
- uses: ros-tooling/[email protected]
|
||||||
|
with:
|
||||||
|
target-ros2-distro: ${{ matrix.ros }}
|
||||||
Reference in New Issue
Block a user