Consistency in CMakeLists.txt #16
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: ROS nodes | |
on: | |
push: | |
branches: ["main"] | |
pull_request: | |
branches: ["main"] | |
jobs: | |
ros2_node: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
release: [humble, iron, jazzy, rolling] | |
container: osrf/ros:${{ matrix.release }}-desktop | |
steps: | |
- name: Setup cmake | |
uses: jwlawson/[email protected] | |
with: | |
cmake-version: "3.25.x" | |
- uses: actions/checkout@v3 | |
- name: Run colcon | |
run: source /opt/ros/${{ matrix.release }}/setup.bash && colcon build --event-handlers console_direct+ | |
shell: bash |