Add CI Infrastructure - #2
Merged
julianadrianheine merged 2 commits intoJul 3, 2026
Merged
Conversation
Collaborator
Author
|
I'm not entirely sure about this, but it makes sense to run the tests for both Python 3.11 and Python 3.12, since we are maintaining both versions, right? @frneer |
julianadrianheine
force-pushed
the
julianadrianheine/enable_ci
branch
2 times, most recently
from
July 1, 2026 12:54
331f01e to
1c78a15
Compare
frneer
requested changes
Jul 1, 2026
frneer
left a comment
Collaborator
There was a problem hiding this comment.
Nice job! I left some comments.
julianadrianheine
force-pushed
the
julianadrianheine/enable_ci
branch
from
July 1, 2026 17:56
231a77e to
c190003
Compare
frneer
reviewed
Jul 2, 2026
julianadrianheine
force-pushed
the
julianadrianheine/enable_ci
branch
from
July 2, 2026 15:10
c190003 to
feac17d
Compare
frneer
reviewed
Jul 2, 2026
Collaborator
|
:LGTM: except one final comment. |
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds GitHub Actions CI and the local tooling needed to build and test the package
without a system-wide cyclonedds C installation.
Changes
.github/workflows/ci.yml
Runs the test suite on Python 3.11 and 3.12 on every push to
main,releases/**,and PRs targeting either. The wheel is cached by a hash of the source tree so the
cibuildwheel/Docker step is only re-run when the package content changes.
wheelhouse/build_cyclonedds_wheel.sh
Adapted from an external-clone approach to operate directly on the current repo.
Cloning and the CYCLONEDDS_COMMIT pin are removed; SOURCE_DATE_EPOCH is derived from
the current HEAD for reproducible output. The venv and cibuildwheel output are written
to a temp directory so the repo tree stays clean.
setup/install_prereq.sh
Local equivalent of the CI setup: installs Docker if missing, builds the wheel via
build_cyclonedds_wheel.sh, and creates a.venvwith the wheel and test dependenciesinstalled. After running:
.venv/bin/python local-ci.py --no-linter.