File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : gz_ros2_control CI - Lyrical
2+
3+ on :
4+ workflow_dispatch :
5+ pull_request :
6+ branches : [ lyrical ]
7+ push :
8+ branches : [ lyrical ]
9+ schedule :
10+ # Run every morning to detect flakiness and broken dependencies
11+ - cron : ' 03 5 * * MON-FRI'
12+
13+ jobs :
14+ build :
15+ runs-on : ubuntu-latest
16+ strategy :
17+ fail-fast : false
18+ matrix :
19+ include :
20+ - ros-distro : " lyrical"
21+ ros-repo-packages : " -testing"
22+ upstream-repos : " gz_ros2_control.lyrical.repos"
23+ - ros-distro : " lyrical"
24+ ros-repo-packages : " -testing"
25+ upstream-repos : " "
26+ - ros-distro : " lyrical"
27+ ros-repo-packages : " "
28+ upstream-repos : " "
29+ env :
30+ ROS_DISTRO : ${{ matrix.ros-distro }}
31+ container :
32+ image : ghcr.io/ros-controls/ros:${{ matrix.ros-distro }}-ubuntu${{ matrix.ros-repo-packages }}
33+ steps :
34+ - uses : actions/checkout@v6
35+ - name : Checkout ros2_control framework for semi-binary builds
36+ if : ${{ matrix.upstream-repos != '' }}
37+ run : vcs import --input ${{ matrix.upstream-repos }}
38+ - name : Setup colcon workspace
39+ id : configure
40+ shell : bash
41+ run : |
42+ apt-get update
43+ rosdep update
44+ rosdep install --from-paths ./ -i -y --rosdistro ${ROS_DISTRO}
45+ - name : Build project
46+ id : build
47+ run : |
48+ . /opt/ros/${ROS_DISTRO}/local_setup.sh
49+ colcon build --packages-up-to gz_ros2_control_demos gz_ros2_control_tests
50+ - name : Run tests
51+ id : test
52+ run : |
53+ . /opt/ros/${ROS_DISTRO}/local_setup.sh
54+ colcon test --event-handlers console_direct+ --packages-select gz_ros2_control gz_ros2_control_demos gz_ros2_control_tests
55+ colcon test-result
Original file line number Diff line number Diff line change 1+ name : Check Docs - Lyrical
2+
3+ on :
4+ workflow_dispatch :
5+ pull_request :
6+ branches :
7+ - lyrical
8+ paths :
9+ - ' **.rst'
10+ - ' **.md'
11+ - ' **.jpg'
12+ - ' **.jpeg'
13+ - ' **.png'
14+ - ' **.svg'
15+ - ' **.yml'
16+ - ' **.yaml'
17+ - ' !.github/**' # exclude yaml files in .github directory
18+ - ' .github/workflows/lyrical-check-docs.yml'
19+
20+ concurrency :
21+ group : ${{ github.workflow }}-${{ github.ref }}
22+ cancel-in-progress : true
23+
24+ jobs :
25+ check-docs :
26+ name : Check Docs
27+ uses : ros-controls/control.ros.org/.github/workflows/reusable-sphinx-check-single-version.yml@lyrical
28+ with :
29+ GZ_ROS2_CONTROL_PR : ${{ github.ref }}
Original file line number Diff line number Diff line change 1+ repositories:
2+ ros-controls/control_msgs:
3+ type: git
4+ url: https://github.com/ros-controls/control_msgs.git
5+ version: master
6+ ros-controls/control_toolbox:
7+ type: git
8+ url: https://github.com/ros-controls/control_toolbox.git
9+ version: master
10+ ros-controls/kinematics_interface:
11+ type: git
12+ url: https://github.com/ros-controls/kinematics_interface.git
13+ version: master
14+ ros-controls/realtime_tools:
15+ type: git
16+ url: https://github.com/ros-controls/realtime_tools.git
17+ version: master
18+ ros-controls/ros2_control:
19+ type: git
20+ url: https://github.com/ros-controls/ros2_control.git
21+ version: master
22+ ros-controls/ros2_controllers:
23+ type: git
24+ url: https://github.com/ros-controls/ros2_controllers.git
25+ version: master
26+ ros-controls/ros2_control_cmake:
27+ type: git
28+ url: https://github.com/ros-controls/ros2_control_cmake.git
29+ version: master
You can’t perform that action at this time.
0 commit comments