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

Update tools in CI #946

Merged
merged 11 commits into from
Jan 20, 2024
Merged

Update tools in CI #946

merged 11 commits into from
Jan 20, 2024

Conversation

hasufell
Copy link
Member

@hasufell hasufell commented Dec 3, 2023

No description provided.

@hasufell
Copy link
Member Author

hasufell commented Jan 2, 2024

kinda blocked by #962

@runeksvendsen
Copy link
Collaborator

@hasufell what's the motivation behind this PR?

@@ -327,12 +327,10 @@ executable ghcup
, brick ^>=2.1
, transformers ^>=0.5
, vty ^>=6.0
, unix ^>=2.7
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

how is this change related to updating tools in CI?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It fixes windows CI as the commit says

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't split my work into 3 or 4 different PRs when I'm actively working on CI in general. It's just confusing.

So we'll have to make a decision here what to do with i386 alpine and move the PR forward

@runeksvendsen
Copy link
Collaborator

kinda blocked by #962

Given that GHC 9.4.8 is broken in many different ways (cf. #969) I think it would make sense to not use it in the CI pipeline.

@hasufell
Copy link
Member Author

#969

We should always build ghcup with the recommended version. Even before that GHC is recommended.

@hasufell
Copy link
Member Author

hasufell commented Jan 10, 2024

kinda blocked by #962

Given that GHC 9.4.8 is broken in many different ways (cf. #969) I think it would make sense to not use it in the CI pipeline.

The only real GHC bug might be the alpine segfault. Everything else are ecosystem issues. And for the alpine thing I have not submitted a bug report. I don't have a small reproducer.

@runeksvendsen
Copy link
Collaborator

runeksvendsen commented Jan 10, 2024

#969

We should always build ghcup with the recommended version. Even before that GHC is recommended.

Agreed. Would it be viable to also build with other, known-to-work versions of GHC? Instead of picking a single GHC version?

If there are known issues building stuff with GHC 9.4.8, but we also build with e.g. GHC 9.4.5 in CI and this succeeds, then I see nothing wrong with merging the PR, as it's clear from the CI runs that it's GHC version 9.4.8 that's problematic (and we have issues to track this).

@hasufell
Copy link
Member Author

Agreed. Would it be viable to also build with other, known-to-work versions of GHC? Instead of picking a single GHC version?

Well, right now we don't make much of a distinction between PR build and release build.

I don't want more than one GHC build in the release pipeline. So that would require splitting the workflows.

@runeksvendsen
Copy link
Collaborator

I don't want more than one GHC build in the release pipeline.

What's the reason for this? Slowness?

@hasufell
Copy link
Member Author

I don't want more than one GHC build in the release pipeline.

What's the reason for this? Slowness?

The release pipeline is there to ship the ghcup binaries. We want as few points of failure as possible.

@hasufell hasufell merged commit c6c61ca into master Jan 20, 2024
24 of 29 checks passed
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