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

Temporarily disable uploading artifacts for Windows. #1246

Merged
merged 2 commits into from
Jul 22, 2021
Merged

Temporarily disable uploading artifacts for Windows. #1246

merged 2 commits into from
Jul 22, 2021

Conversation

yav
Copy link
Member

@yav yav commented Jul 22, 2021

This seems to break the CI, we need to investigate why

yav added 2 commits July 22, 2021 15:21
This seems to break the CI, we need to investigate why
This takes way too long to run on every commit
@yav yav merged commit 5b21f36 into master Jul 22, 2021
@atomb
Copy link
Contributor

atomb commented Jul 22, 2021

Although disabling Windows temporarily seems reasonable (though I'd like it if we can resolve it soon), the portable Docker container is something we're critically depending on. I believe the failure you saw was spurious, and would be resolved by restarting the build, given that it's been succeeding in other runs. Would you be up for reverting that part of the PR?

@yav
Copy link
Member Author

yav commented Jul 22, 2021

@atomb I am fine with re-enabling it after it is fixed. I don't think building ghc on every commit is useful, as the task takes hours to finish, and we should not be doing that on every single commit.

@atomb
Copy link
Contributor

atomb commented Jul 22, 2021

Just to double-check: by "fixed" do you mean "completing at all" or "completing quickly"? I ask because I think the former is already true: it should work if we just re-run it (though if that's not true, we should certainly address that).

I think it could be reasonable to tweak that workflow to run only when requested (workflow_dispatch), or perhaps nightly, instead of on every PR. It would also be a major improvement to cache the results of the GHC build and reuse them, rather than building it every time, but I'd prefer to have it re-enabled (at least on-demand) and make that improvement to the performance of the build afterward.

@yav
Copy link
Member Author

yav commented Jul 22, 2021

@atomb if you know how to make it cache things, or schedule it to run nightly, please do enable it. My goal is to have the CI detect errors in commits, reliably in under 1 hour. I don't think that the Cryptol CI is the right place to be building GHC though, at least not on every commit.

@atomb
Copy link
Contributor

atomb commented Jul 22, 2021

I'd forgotten that I already had a branch set up to fix the Windows build. I'll extend it to make the portable Docker build run only on nightly builds.

@yav yav deleted the fix-build branch December 10, 2021 19:24
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.

2 participants