fix ROS2 Jazzy CI: force sequential executor for colcon #150
This file contains hidden or 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: ROS2 Jazzy | |
| on: | |
| push: | |
| branches: [ main ] | |
| pull_request: | |
| branches: [ main ] | |
| workflow_dispatch: | |
| jobs: | |
| build: | |
| runs-on: ubuntu-24.04 | |
| steps: | |
| # Step 1: Set up ROS | |
| - uses: ros-tooling/[email protected] | |
| with: | |
| required-ros-distributions: jazzy | |
| # SteCache ROS dependencies | |
| - name: Cache ROS dependencies | |
| uses: actions/cache@v4 | |
| with: | |
| path: | | |
| ~/.ros | |
| /tmp/rosdep | |
| /opt/ros/jazzy | |
| key: ${{ runner.os }}-ros2-jazzy-${{ hashFiles('**/package.xml') }}-rosdep | |
| restore-keys: | | |
| ${{ runner.os }}-ros2-jazzy-${{ hashFiles('**/package.xml') }}- | |
| ${{ runner.os }}-ros2-jazzy- | |
| # Step 3: Run ROS CI | |
| - uses: ros-tooling/[email protected] | |
| with: | |
| package-name: | | |
| cloudini_lib | |
| cloudini_ros | |
| target-ros2-distro: jazzy | |
| skip-tests: true | |
| colcon-defaults: | | |
| { | |
| "build": { | |
| "executor": "sequential" | |
| } | |
| } |