Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

obese-devel github actions to build and run tests #1

Draft
wants to merge 24 commits into
base: obese-devel
Choose a base branch
from

Conversation

lucasw
Copy link

@lucasw lucasw commented Jan 12, 2024

These are useful for my ros_comm fork, any interest in having these running here?

I could use some help with the tests that fail and I disabled or others I fixed in less robust ways.

Some patches from https://salsa.debian.org/science-team/ros-ros-comm/-/tree/master/debian/patches?ref_type=heads were applied in order to get the build to work- I could experiment with removing some or all of them (and document what the errors are here), if they are needed maybe they should be committed into obese-devel separate from this PR?

There are dockerfiles that parallel what is in the actions, which is a maintenance hassle- the pattern elsewhere is to run the dockerfiles in the actions and then less duplication, but I prefer the visibility in what is going wrong in an action, and the action steps are a little closer to what someone would run locally. (Another option is add more actions here that also build the dockerfiles to prevent regressions but no guarantees they stay in sync with the other actions).

The big search and replaces of deprecated test function names could be removed here, and maybe brought back in a later PR? I made the replacements to reduce the amount of noise from deprecation warnings while trying to fix the actual failures.

jspricke and others added 24 commits November 23, 2023 09:43
It's a common approach to build cmake projects in a `build` folder in the project root.
It's just that `rosbuild`/`catkin` does not do it, so the changed name never mattered.

When you try the target name includes another `build_` string and there is *exactly one* package in the whole ecosystem that relies on this not happening:
https://github.com/ros/ros_comm/blob/845f74602c7464e08ef5ac6fd9e26c97d0fe42c9/test/test_rosbag/bag_migration_tests/CMakeLists.txt#L87-L103
with debian sbuild builds this does not exist atm.
@lucasw lucasw changed the title obese-devel github actions to build and run testse obese-devel github actions to build and run tests Jan 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants