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

use shared target folder for faster CI #39

Merged
merged 2 commits into from
Aug 29, 2022
Merged

Conversation

miraclx
Copy link
Contributor

@miraclx miraclx commented Aug 27, 2022

Tracking issue: #41

Supersedes #24.

Current integration tests generate isolated projects with distinct target folders despite compiling ~99% of the same artifacts.

Causing current CI runs to run upwards of an hour.

With this patch, CI completes in under 10 minutes.


Based on #35, because in my tests, leaving the codegen in caused inconsistent results, didn't bother investigating why. https://github.com/near/cargo-near/runs/8050886022?check_suite_focus=true

I eventually looked into it. See #40 for an alternative that merges straight into the main branch.

Base automatically changed from miraclx/inspect to main August 29, 2022 09:50
@miraclx miraclx merged commit 70595a3 into main Aug 29, 2022
@miraclx miraclx deleted the miraclx/test-shared-cache branch August 29, 2022 09:54
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

Successfully merging this pull request may close these issues.

3 participants