Run
autoproj plugin install autoproj-ci
From within an autoproj workspace
The autoproj ci cache-push
, autoproj ci build
and autoproj ci cache-pull
subcommands allow you to save build artifacts (push) or get them
from the cache (pull and build) to avoid re-building things that are not
needed. The pull may be used to unarchive the relevant artifacts from the
archive dir into the workspace's prefix. build
does cache-pull
and
triggers a build that will ignore the cached packages. cache-push
updates
the cache using the packages successfully build by the last build command.
cache-pull
generates a JSON file that can be used to determine what has been
pulled from the cache. Cached packages can then be provided to the --not
option
of autoproj build
, as e.g.
autoproj build --not this_package that_package
Passing the options must be done by your build environment. It's not automatically handled by the tools
Install the plugin with a --path
option to use your working checkout
autoproj plugin install autoproj-ci --path /path/to/checkout
Bug reports and pull requests are welcome on GitHub at https://github.com/rock-core/autoproj-ci. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the Contributor Covenant code of conduct.
The gem is available as open source under the terms of the MIT License.
Everyone interacting in the Autoproj::Ci project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the code of conduct.