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

ENH: Make continuous build driver more configurable #766

Closed
wants to merge 2 commits into from

Conversation

lassoan
Copy link
Contributor

@lassoan lassoan commented Aug 4, 2017

These changes allow running a single continuous build, which does not delete the build tree and can be launched at arbitrary time intervals using a task scheduler. To run a single continuous build, CTEST_CONTINUOUS_DURATION variable has to be set to 0. If the value is not set or >0 then the previous behavior is kept.

Duration and interval are now configurable.
If duration is set to 0 then the build is performed only once.
Clean build tree at the first build when multiple continuous builds are requested.
If only a single build is requested (CTEST_CONTINUOUS_DURATION = 0) then the build tree will not be cleaned.
@lassoan lassoan requested a review from jcfr August 4, 2017 16:32
@lassoan
Copy link
Contributor Author

lassoan commented Aug 4, 2017

@jcfr FYI, this script is now used on factory.perklab to run continuous Windows builds during the day, reusing the nightly build tree.

Copy link
Member

@jcfr jcfr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Well done. And thanks for setting up continuous on your factory.

@lassoan
Copy link
Contributor Author

lassoan commented Aug 4, 2017

Committed r26200

@lassoan lassoan closed this Aug 4, 2017
@pieper
Copy link
Member

pieper commented Aug 4, 2017

👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants