[CI] Add new GitHub-based continuous integration#5762
Merged
hugtalbot merged 120 commits intosofa-framework:masterfrom Dec 8, 2025
Merged
[CI] Add new GitHub-based continuous integration#5762hugtalbot merged 120 commits intosofa-framework:masterfrom
hugtalbot merged 120 commits intosofa-framework:masterfrom
Conversation
* Push space to creatye PR * Finished clone sofa and ci stage * Rename action * fix some typos in filter script
* Commit to open a PR * revert env modification * Move steps around + add os configuration * Configure step should be working * Move comment around * Step build
* Use step outputs to send variables in call workflow * add BUILDER_OS environment variable * add check for all tests in PR body * remove useless secret * udpate PR python script * add missing runs-on: ubuntu-latest * Fix build action/ ci-depends-on * remove runs-on * update python script * clean python script * fix export of booleans * Fix action --------- Co-authored-by: Paul Baksic <paul.baksic@outlook.fr>
* Update checkPRInfoBeforeBuild.py * Apply suggestions from code review Co-authored-by: Paul Baksic <30337881+bakpaul@users.noreply.github.com> * Apply suggestions from code review * Apply suggestions from code review * Test * Use this script * fix * test fromJson * add debug * Final fix * revert change * Refacto display action * Fix filter --------- Co-authored-by: Paul Baksic <30337881+bakpaul@users.noreply.github.com> Co-authored-by: Paul Baksic <paul.baksic@outlook.fr>
* TO BE REVERTED BEFORE MERGE * Fix syntax * Fix git handle * fix action location * fix typo * Fix call to load vm env
* Isolate nightly build to allow for matrix only in nightly cases * Check that SOFA branch name is either master or vXX.XX * Attempt to detect existing running builds on PR * Fix check on ci-depends-on * fix indent and add generic condition for nightly build * Another fix for ci-depends-on * Another fix for ci-depends-on in json * Display info on PR comment * Display info on PR comment * Display info on PR comment
* Fix trigger through comments * remove check when action is already triggered * remove test comment
Contributor
|
🎉 🎉 🎉 🎉 🎉 🎉 🎉 🎉 🎉 🎉 🎉 🎉 |
Contributor
|
Let's notify @sofa-framework/reviewers Cheers 🎉 |
hugtalbot
approved these changes
Dec 4, 2025
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.
This PR proposes a CI based on github action for Ubuntu, Fedora and MacOS.
CI PR : sofa-framework/ci#66
First let's talk about our old friendo Windows:
jenkins_freezethat'll be used by Jenkins until its inevitable and imminent shutdown.Now that this is said, let's dive into the differences with before :
pre-jobscript is run every time a job is triggered and before it run. This is done using an environment variable calledACTIONS_RUNNER_HOOK_JOB_STARTED(same exists for cleanup bu we don't use it). This script is present here : https://github.com/bakpaul/ci/tree/jenkins_gha_migration/scripts/github-hookups and every builder has a clone of the master branch of the ci repository to access those script. This repository is updated ever 10 seconds, so any modification of those script pushed to the master branch of the ci repo will be effective directly on the builders.Finally, a script to setup a builder on either macos or ubuntu is proposed here : https://github.com/bakpaul/ci/blob/jenkins_gha_migration/setup/github-runner/unix.sh
Last questions that you might have are :
And finally, to have no scene tests errors, we will need to merge this PR : #5752
By submitting this pull request, I acknowledge that
I have read, understand, and agree SOFA Developer Certificate of Origin (DCO).
Reviewers will merge this pull-request only if