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

Fix CI on Ubuntu 22.04 #563

Merged
merged 1 commit into from
Dec 7, 2022
Merged

Fix CI on Ubuntu 22.04 #563

merged 1 commit into from
Dec 7, 2022

Conversation

Bodigrim
Copy link
Contributor

@Bodigrim Bodigrim commented Dec 7, 2022

Inspired by haskell/unix#266

Comment on lines +26 to +29
- name: Install libncurses5 and libtinfo
if: runner.os == 'Linux' && matrix.ghc <= '8.2'
run: |
sudo apt-get install libncurses5 libtinfo5
Copy link
Member

Choose a reason for hiding this comment

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

Shouldn't haskell/actions/setup provide these dependencies?! Is there an upstream ticket for this issue?

Copy link
Contributor Author

@Bodigrim Bodigrim Dec 7, 2022

Choose a reason for hiding this comment

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

I'm not really sure who is to blame. Presumably old ubuntu-20.04 runners had libncurses5 and libtinfo5 preinstalled, and new ubuntu-22.04 don't. But it's also possible that installation of GHC 8.0 via ghcup never worked properly on GHA; in such case haskell/actions/setup silently retries with ppa:hvr/ghc which succeeded. However, ppa:hvr/ghc does not contain packages for ubuntu-22.04, so now it fails.

Copy link
Member

@clyring clyring left a comment

Choose a reason for hiding this comment

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

Thanks!

Unfortunately, it looks like the drone.io arm64 runs are also dead at the moment.

@Bodigrim Bodigrim added this to the 0.11.4.0 milestone Dec 7, 2022
@Bodigrim Bodigrim merged commit 403d920 into haskell:master Dec 7, 2022
@Bodigrim Bodigrim deleted the ubuntu-jammy branch December 7, 2022 23:32
clyring pushed a commit that referenced this pull request Dec 29, 2022
(cherry picked from commit 403d920)
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