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

chore/ci: add caching to GHA #1117

Merged
merged 1 commit into from Dec 16, 2019
Merged

chore/ci: add caching to GHA #1117

merged 1 commit into from Dec 16, 2019

Conversation

@m-cat
Copy link
Contributor

m-cat commented Dec 13, 2019

This PR enables caching in GitHub Actions.

I'm happy to report that, while builds are slightly slower if there is no matching cache, they are significantly faster when the cache is available.

Control build without cache:

Ubuntu Windows macOS iOS aarch64 iOS x86_64
780s 1219s 529s 569s 568s

First build with caching (no cache available):

Ubuntu Windows macOS iOS aarch64 iOS x86_64
913s 1265s 576s 605s 619s
117% 104% 109% 106% 109%

Second build with caching (cache available):

Ubuntu Windows macOS iOS aarch64 iOS x86_64
403s 655s 294s 463s 458s
52% 54% 56% 81% 81%
@m-cat m-cat requested a review from nbaksalyar as a code owner Dec 13, 2019
@m-cat m-cat mentioned this pull request Dec 13, 2019
@lionel1704 lionel1704 merged commit 550f463 into maidsafe:master Dec 16, 2019
15 checks passed
15 checks passed
Rustfmt-Clippy
Details
Build Scripts
Details
Build iOS (aarch64-apple-ios) Build iOS (aarch64-apple-ios)
Details
Build iOS (x86_64-apple-ios) Build iOS (x86_64-apple-ios)
Details
Build Android (armv7-linux-androideabi, prod)
Details
Build Android (armv7-linux-androideabi, dev)
Details
Build Android (x86_64-linux-android, prod)
Details
Build Android (x86_64-linux-android, dev)
Details
Test (ubuntu-latest)
Details
Test (windows-latest)
Details
Test (macOS-latest)
Details
Test Publish
Details
Build iOS Universal (prod)
Details
Build iOS Universal (dev)
Details
Travis CI - Pull Request Build Passed
Details
@m-cat m-cat deleted the m-cat:gha-cache branch Dec 16, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.