Commit c2e7fe5
authored
Fix filesystem linking on GCC 8 and add RHEL CI workflow (UniversalRobots#454)
On GCC 8, the <filesystem> implementation is not included in the standard library by default.
It must be explicitly linked via:
`target_link_libraries(urcl PUBLIC stdc++fs)`
Newer GCC versions perform this automatically, which is why the issue
only appears on RHEL 8 buildfarm jobs.
This PR adds the explicit link dependency for `stdc++fs` in the CMake to
ensure the linking for GCC8
To prevent regressions and ensure URCL builds correctly on all supported
RHEL toolchains, this PR introduces a new GitHub Actions workflow:
- Runs URCL builds inside RHEL containers as in
https://github.com.mcas.ms/ros-controls/ros2_control_ci/tree/master?tab=readme-ov-file#ros2_rhel
- Covers multiple ROS2 distributions (Humble, Jazzy, Kilted, Rolling).
The workflow performs a minimal workspace build using colcon inside the
container, matching the RHEL buildfarm configuration.1 parent 59db585 commit c2e7fe5
2 files changed
Lines changed: 34 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
84 | 84 | | |
85 | 85 | | |
86 | 86 | | |
| 87 | + | |
87 | 88 | | |
88 | 89 | | |
89 | 90 | | |
| |||
0 commit comments