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

Add caching on Travis to speed up build #273

Open
MarkRivers opened this issue May 5, 2017 · 1 comment
Open

Add caching on Travis to speed up build #273

MarkRivers opened this issue May 5, 2017 · 1 comment

Comments

@MarkRivers
Copy link
Member

Michael Davidsaver wrote:

FYI. travis-ci does support caching of files between builds which can
help with building dependencies from source.  Takes a bit of time to get
right, but speeds up builds a lot.  For example, building a custom QEMU.
 This gets source from github and checks revision hashes to see if a
rebuild is needed.

https://github.com/mdavidsaver/epics-base/blob/integration/ci/travis-prepare.sh#L24

A sell sophisticated, but more relevant example of building Base and a
support module.

https://github.com/mdavidsaver/mrfioc2/blob/master/build-deps.sh

The necessary lines in .travis.yml

> cache:
>   directories:
>    - $HOME/.cache

We should cache EPICS base and ADSupport, checking against the current version to see if they should be rebuilt.

@ulrikpedersen
Copy link
Member

I agree and I've used this feature before.

We should also setup a build matrix to build against different EPICS versions. For example R3.14 and R3.15 in separate (parallel) build jobs.

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

No branches or pull requests

2 participants