Skip to content

Commit

Permalink
[ci] Merging ROS 1 and 2 jobs in a single yaml file
Browse files Browse the repository at this point in the history
  • Loading branch information
cmastalli committed Dec 9, 2023
1 parent 3237af5 commit 07ee4ad
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 45 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,16 @@ name: ROS
on: [push, pull_request]

jobs:
CI:
crocoddyl-ros:
strategy:
fail-fast: false
matrix:
env:
- {name: "(noetic, Release)", ROS_DISTRO: noetic, BUILDER: catkin_tools}
- {name: "(humble, Release)", ROS_DISTRO: humble}
- {name: "(rolling, Release)", ROS_DISTRO: rolling}
- {name: "(iron, Release)", ROS_DISTRO: iron}
# - {name: "(noetic, clang, multi-threading, Release)", ROS_DISTRO: noetic, BUILDER: catkin_tools, ADDITIONAL_DEBS: "clang libomp-dev", CC: clang, CXX: clang++, CMAKE_ARGS: "-DBUILD_WITH_MULTITHREADS=ON -DBUILD_WITH_NTHREADS=2"}
# - {name: "(humble, clang, multi-threading, Release)", ROS_DISTRO: humble, ADDITIONAL_DEBS: "clang libomp-dev", CC: clang, CXX: clang++, CMAKE_ARGS: "-DBUILD_WITH_MULTITHREADS=ON -DBUILD_WITH_NTHREADS=2"}
# - {name: "(rolling, clang, multi-threading, Release)", ROS_DISTRO: rolling, ADDITIONAL_DEBS: "clang libomp-dev", CC: clang, CXX: clang++, CMAKE_ARGS: "-DBUILD_WITH_MULTITHREADS=ON -DBUILD_WITH_NTHREADS=2"}
# - {name: "(iron, clang, multi-threading, Release)", ROS_DISTRO: iron, ADDITIONAL_DEBS: "clang libomp-dev", CC: clang, CXX: clang++, CMAKE_ARGS: "-DBUILD_WITH_MULTITHREADS=ON -DBUILD_WITH_NTHREADS=2"}
Expand All @@ -22,10 +24,6 @@ jobs:
CCACHE_DIR: /github/home/.ccache # Enable ccache
UPSTREAM_WORKSPACE: dependencies.rosinstall # to build example-robot-data from source as it's not released via the ROS buildfarm
CTEST_OUTPUT_ON_FAILURE: 1
BUILDER: colcon
# This by-passes issues on importing example_robot_data module when running examples and unit tests.
# It seems target_ws is unable to properly overlay upstream_ws.
AFTER_SETUP_UPSTREAM_WORKSPACE: 'pip install example-robot-data'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
Expand Down
40 changes: 0 additions & 40 deletions .github/workflows/ros1-ci.yaml

This file was deleted.

0 comments on commit 07ee4ad

Please sign in to comment.