Skip to content

GHA: Several fixes on depexts workflow#6079

Merged
kit-ty-kate merged 10 commits intoocaml:masterfrom
rjbou:gha-depexts
Jul 9, 2024
Merged

GHA: Several fixes on depexts workflow#6079
kit-ty-kate merged 10 commits intoocaml:masterfrom
rjbou:gha-depexts

Conversation

@rjbou
Copy link
Copy Markdown
Collaborator

@rjbou rjbou commented Jul 9, 2024

Major ones:

  • Fix centos by faking on with almalinux
  • Fix conf-* packages install and check
  • Add packages with os-version to check
  • More caching in docker build

Backport to 2.2 by #6086

RUN yum install -y $mainlibs $ocaml
RUN yum install -y gcc-c++
RUN yum install -y gcc-c++ diffutils
RUN sed -i 's/ID="almalinux"/ID="centos"/' /etc/os-release
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

i don't think we should try to emulate centos

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

why not?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

centos is effectively a dead platform as far as the community goes. Trying to emulate a distribution that is diverging is a bad idea

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

It is a dead platform true, but there are still users on it, and it is still supported by opam.
Almalinux is meant to be a replacement to centos, providing backward compatibility. Until it diverges completely, it is a good testing platform for centos jobs.
We could add a full support for almalinux & rockylinux, but that's another issue, and they should have their own jobs.

@kit-ty-kate
Copy link
Copy Markdown
Member

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants