Skip to content

Commit

Permalink
Adds CI. (#25)
Browse files Browse the repository at this point in the history
Signed-off-by: Franco Cipollone <[email protected]>
  • Loading branch information
francocipollone authored Feb 2, 2024
1 parent aec3fb3 commit 789dca7
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: colcon build & test

on:
push:
branches:
- humble
pull_request:
branches:
- humble
workflow_dispatch:

env:
ROS_DISTRO: humble

# Cancel previously running PR jobs
concurrency:
group: '${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }}'
cancel-in-progress: true

jobs:
compile_and_test:
name: Compile and test
runs-on: ubuntu-latest
container:
image: ubuntu:22.04
steps:
- uses: actions/checkout@v3
- uses: ros-tooling/[email protected]
- uses: ros-tooling/[email protected]
id: action_ros_ci_step
with:
package-name: andino_gz
target-ros2-distro: ${{ env.ROS_DISTRO }}

0 comments on commit 789dca7

Please sign in to comment.