Skip to content

Commit

Permalink
Merge pull request #3 from gregtkogut/add-ros-build-action
Browse files Browse the repository at this point in the history
Add ros build action
  • Loading branch information
gregtkogut authored Nov 8, 2024
2 parents 0719ca1 + 16378a1 commit 634b275
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: test

on: # NOLINT
pull_request:
push:
schedule:
- cron: '0 10 * * MON'
workflow_dispatch:

jobs:
build-and-test:
runs-on: ubuntu-22.04

strategy:
matrix:
ros_distribution:
- humble
include:
# Humble Hawksbill (May 2022 - May 2027)
- docker_image: osrf/ros:humble-desktop-full
ros_distribution: humble

container:
image: ${{ matrix.docker_image }}

steps:
- name: Setup ROS 2
uses: ros-tooling/[email protected]
with:
required-ros-distributions: ${{ matrix.ros_distribution }}
- name: Build and test
id: built-and-test
uses: ros-tooling/[email protected]
with:
package_name: plansys2_optic_plan_solver
target-ros2-distro: ${{ matrix.ros_distribution }}

0 comments on commit 634b275

Please sign in to comment.