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 Arch Linux container on Linux runners #96

Merged
merged 50 commits into from
Feb 1, 2024
Merged

ci: use Arch Linux container on Linux runners #96

merged 50 commits into from
Feb 1, 2024

Conversation

c-dilks
Copy link
Member

@c-dilks c-dilks commented Jan 31, 2024

ubuntu-latest GitHub runners have packages which are quite out of date, which requires us to build newer versions fmt and yaml-cpp in separate CI jobs. If the list of dependencies grows, this is not practical; nor is it practical for users.

So let's use a Docker container which provides easy access to up-to-date dependency versions.

Arch is chosen over Alma 9; see comments below.

This could be the basis for creating our own image for iguana users.

@c-dilks
Copy link
Member Author

c-dilks commented Jan 31, 2024

According to pkgs.org, Alma 9 also lacks iguana dependencies:

I was afraid this would be the case with enterprise distros, where many packages are often several major versions behind.

So for now, let's switch to Arch where everything is guaranteed to be up-to-date, since our current priority is working CI pipelines for #91.

@c-dilks
Copy link
Member Author

c-dilks commented Jan 31, 2024

archlinux/archlinux:latest has

extra/fmt       10.2.0-1       1.58 MiB       0.36 MiB
extra/yaml-cpp  0.8.0-1        0.42 MiB       0.13 MiB

@c-dilks
Copy link
Member Author

c-dilks commented Jan 31, 2024

Image archlinux with fmt and yaml-cpp is around 150MB. We could cache it, but it may be easier to just install dependencies on each job.

ROOT will be heavy, but perhaps for that we may use a cvmfs action; ROOT also supplies Arch images.

@c-dilks c-dilks changed the title feat: build apptainer image ci: use Arch Linux container on Linux runners Jan 31, 2024
@c-dilks
Copy link
Member Author

c-dilks commented Jan 31, 2024

On the other hand, Arch forces us to install all the dependencies...

@c-dilks c-dilks marked this pull request as ready for review January 31, 2024 22:33
.github/workflows/ci.yml Outdated Show resolved Hide resolved
@c-dilks c-dilks enabled auto-merge (squash) February 1, 2024 20:12
@c-dilks c-dilks merged commit 14c89a4 into main Feb 1, 2024
36 checks passed
@c-dilks c-dilks deleted the alma branch February 1, 2024 20:19
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.

1 participant