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

Cache the cabal build #204

Open
gelisam opened this issue Nov 29, 2018 · 1 comment
Open

Cache the cabal build #204

gelisam opened this issue Nov 29, 2018 · 1 comment
Labels

Comments

@gelisam
Copy link
Owner

gelisam commented Nov 29, 2018

The two stack builds take 2 minutes each on travis, while the cabal build takes 17! I'm using a sandbox, maybe we can cache its contents? I kind of like the fact that the cabal build checks whether hawk still builds fine with the latest version of everything though... maybe there's a way to detect if a new version of the dependencies have been released, and to clear the cache in that case?

@gelisam gelisam added the hard label Nov 29, 2018
@gelisam
Copy link
Owner Author

gelisam commented Dec 2, 2018

Now that the tests are also being run on Travis, the difference is more along the lines of 20 minutes vs 30 minutes, so the improvement would be smaller.

On my 5 year old laptop, it only takes 1 minute to build after a stack clean, and 1 minute to run the tests, so I guess Travis is using much older, slower machines. Which is fine with me, it's a free service after all.

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

No branches or pull requests

1 participant