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

Support GHC 8.10 #376

Merged
merged 7 commits into from
Apr 6, 2020
Merged

Support GHC 8.10 #376

merged 7 commits into from
Apr 6, 2020

Conversation

sjakobi
Copy link
Contributor

@sjakobi sjakobi commented Mar 31, 2020

No description provided.

@sjakobi
Copy link
Contributor Author

sjakobi commented Mar 31, 2020

CI with 8.10 failed due to haskell-checkers/checkers#44.

@sjakobi
Copy link
Contributor Author

sjakobi commented Apr 1, 2020

I have lowered the upper bound on checkers to work around the build failure.

Travis should succeed too now: https://travis-ci.org/github/hedgehogqa/haskell-hedgehog/builds/669930888

@moodmosaic
Copy link
Member

@sjakobi, cool 🍻 I just re-run the AppVeyor build.

@sjakobi
Copy link
Contributor Author

sjakobi commented Apr 2, 2020

Not sure what's up with AppVeyor…

Could you try deleting its cache?

@moodmosaic
Copy link
Member

@sjakobi

Could you try deleting its cache?

There is an option "Save build cache in Pull Requests" which is turned off.

.travis.yml Show resolved Hide resolved
@sjakobi
Copy link
Contributor Author

sjakobi commented Apr 3, 2020

Could you try deleting its cache?

There is an option "Save build cache in Pull Requests" which is turned off.

Hm, not sure what to do except try rerunning then.

@sjakobi
Copy link
Contributor Author

sjakobi commented Apr 3, 2020

The AppVeyor failures look similar to haskell/cabal#4005. How about turning off builds with GHC 8.0?

@sjakobi
Copy link
Contributor Author

sjakobi commented Apr 3, 2020

OK. AppVeyor and Travis are finally both green now.

@jacobstanley
Copy link
Member

@sjakobi did you use bin/regenerate-travis.sh for this? I think it's missing the -Wall -Werror that we used to have

@sjakobi
Copy link
Contributor Author

sjakobi commented Apr 5, 2020

@sjakobi did you use bin/regenerate-travis.sh for this? I think it's missing the -Wall -Werror that we used to have

Oh no, I wasn't aware of that! It's strange that --copy-fields=all doesn't show up in the incantation in the .travis.yml.

Why don't you use the more conventional cabal.hasell-ci to configure haskell-ci?

@sjakobi
Copy link
Contributor Author

sjakobi commented Apr 5, 2020

The Travis job with GHC 8.0 is failing now because of the combination of -Werror=missing-methods with -Werror. Previously it just produced a warning.

I suspect it's a haskell-ci bug to pass the unsupported -Werror=missing-methods flag to a GHC < 8.2.

@sjakobi
Copy link
Contributor Author

sjakobi commented Apr 5, 2020

I reported the haskell-ci issue in haskell-CI/haskell-ci#377.

@sjakobi
Copy link
Contributor Author

sjakobi commented Apr 5, 2020

I acted on @phadej's excellent advice in haskell-CI/haskell-ci#377 (comment) and improved the haskell-ci incantation in a way that made the regenerate-travis.sh script unnecessary. In the future, a simple haskell-ci regenerate will be sufficient.

Unless haskell-checkers/checkers#44 gets merged very soon, I plan no further changes. ;)

Copy link
Member

@moodmosaic moodmosaic left a comment

Choose a reason for hiding this comment

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

LGTM


# .travis.yml is generated using the 'haskell-ci' available on Hackage

haskell-ci regenerate --copy-fields=all
Copy link
Member

Choose a reason for hiding this comment

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

Is haskell-ci --copy-field=all cabal.project an alternative? If yes, I think it makes sense to remove this (as you did).

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Indeed. In general, once the correct incantation is recorded in the comment at the top of the .travis.yml, haskell-ci regenerate should be sufficient.

Copy link
Member

Choose a reason for hiding this comment

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

Good to know 👍 Yes, as per @phadej in haskell-CI/haskell-ci#377 (comment).

@jacobstanley
Copy link
Member

Why don't you use the more conventional cabal.hasell-ci to configure haskell-ci?

I wasn't aware, thanks for the changes! 🎉

@jacobstanley jacobstanley merged commit 3eaa0fa into hedgehogqa:master Apr 6, 2020
@jacobstanley
Copy link
Member

Note @erikd has updated the template-haskell bounds to < 2.17 on the existing Hackage version hedgehog-1.0.2, so that should now be good to go also.

Thanks all 🎉

@sjakobi sjakobi deleted the ghc-8.10 branch April 6, 2020 00:39
@sjakobi
Copy link
Contributor Author

sjakobi commented Apr 6, 2020

Thanks for the merge!

This was a bit of a yak shave! ;)

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.

None yet

3 participants