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

CI: Use Ubuntu 22.04, drop 18.04 #1403

Merged
merged 3 commits into from
Aug 15, 2022
Merged

CI: Use Ubuntu 22.04, drop 18.04 #1403

merged 3 commits into from
Aug 15, 2022

Conversation

RyanGlScott
Copy link
Contributor

GitHub Actions has deprecated its Ubuntu 18.04 runners, and they will be removed by December 1, 2022. Moreover, GitHub Actions now offers Ubuntu 22.04 runners. It seems like a good time to upgrade our CI accordingly.

Somewhat annoyingly, the haskell Docker images that we use in our Dockerfiles use such an old version of Debian that their version of glibc is incompatible with any of the what4-solvers built for Ubuntu 20.04 or 22.04. As a result, I switched them from the haskell Docker image to the ubuntu one. This required some minor tweaks to how dependencies are installed, but nothing too serious.

GitHub Actions has deprecated its Ubuntu 18.04 runners, and they will be
removed by December 1, 2022. Moreover, GitHub Actions now offers Ubuntu 22.04
runners.  It seems like a good time to upgrade our CI accordingly.

Somewhat annoyingly, the `haskell` Docker images that we use in our Dockerfiles
use such an old version of Debian that their version of `glibc` is incompatible
with any of the `what4-solvers` built for Ubuntu 20.04 or 22.04. As a result, I
switched them from the `haskell` Docker image to the `ubuntu` one. This
required some minor tweaks to how dependencies are installed, but nothing too
serious.
@RyanGlScott
Copy link
Contributor Author

I also fired off a workflow-dispatched job here, which ensures that the nightly Docker-based jobs continue to build.

Copy link
Member

@kquick kquick left a comment

Choose a reason for hiding this comment

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

That glibc issue looks like it was annoying and had an unfortunately large impact on this changeset. Thanks for getting this taken care of!

@RyanGlScott RyanGlScott merged commit 583ccc2 into master Aug 15, 2022
@RyanGlScott RyanGlScott deleted the ubuntu-22.04 branch August 15, 2022 16:17
RyanGlScott added a commit that referenced this pull request Oct 3, 2022
PR #1403 accidentally removed our build coverage for an older Ubuntu LTS
configuration. This patch adds in back and ensures that we don't accidentally
run the tests on this configuration.
RyanGlScott added a commit that referenced this pull request Oct 3, 2022
PR #1403 accidentally removed our build coverage for an older Ubuntu LTS
configuration. This patch adds in back and ensures that we don't accidentally
run the tests on this configuration.
RyanGlScott added a commit that referenced this pull request Oct 6, 2022
PR #1403 accidentally removed our build coverage for an older Ubuntu LTS
configuration. This patch adds in back and ensures that we don't accidentally
run the tests on this configuration.
yav pushed a commit that referenced this pull request Oct 13, 2022
PR #1403 accidentally removed our build coverage for an older Ubuntu LTS
configuration. This patch adds in back and ensures that we don't accidentally
run the tests on this configuration.
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