-
Notifications
You must be signed in to change notification settings - Fork 2
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
CI: use caching and split Build and Tests step #112
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
More and more commands are being executed in github actions. I'm starting to wonder whether to abandon cake.build altogether in favor of github actions.
cd src | ||
dotnet cake --target=BuildDebug | ||
|
||
- name: Tests |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@PiotrKarczmarz @tomaszgolebiowski i noticed it's the Tests task that's usually take some time to start, but can't reproduce locally. Is this because of the infrastructure issue?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Correct, this is because the CI infra is quite slow, and initial waiting time for registering extension and starting VS takes a lot of much time.
cd src | ||
dotnet cake --target=BuildDebug | ||
|
||
- name: Tests |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Correct, this is because the CI infra is quite slow, and initial waiting time for registering extension and starting VS takes a lot of much time.
haha super cool! @PiotrKarczmarz |
The build time is ridiculously fast now. Thanks a lot @abeatrix with helping with this! |
CLOSE https://linear.app/sourcegraph/issue/CODY-3944/cake-build-github-action-takes-at-least-40-mins-to-complete
Discussion with @BolajiOlajide in https://sourcegraph.slack.com/archives/C04MYFW01NV/p1727732199068899
Attempt to improve CI by: