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: Run CI job on Ubuntu 22.04 #43

Merged
merged 1 commit into from
Dec 20, 2023
Merged

ci: Run CI job on Ubuntu 22.04 #43

merged 1 commit into from
Dec 20, 2023

Conversation

Byte-Lab
Copy link
Contributor

Andrea pointed out that we can and should be using Ubuntu 22.04. Unfortunately it still doesn't ship some of the deps we need like clang-17, but it does at least ship virtme-ng, so it's good for us to use this so that we can actually test running the schedulers in a virtme-ng VM when it supports being run in docker.

Also, update the job to run on pushes, and not just when a PR is opened

Suggested-by: Andrea Righi [email protected]

Andrea pointed out that we can and should be using Ubuntu 22.04.
Unfortunately it still doesn't ship some of the deps we need like
clang-17, but it does at least ship virtme-ng, so it's good for us to
use this so that we can actually test running the schedulers in a
virtme-ng VM when it supports being run in docker.

Also, update the job to run on pushes, and not just when a PR is opened

Suggested-by: Andrea Righi <[email protected]>
Signed-off-by: David Vernet <[email protected]>
@Byte-Lab Byte-Lab assigned Byte-Lab and unassigned arighi and htejun Dec 20, 2023
@htejun htejun merged commit cfb41a7 into main Dec 20, 2023
2 checks passed
@Byte-Lab Byte-Lab deleted the ubuntu_2204_ci branch December 20, 2023 21:57
Copy link
Contributor

@arighi arighi left a comment

Choose a reason for hiding this comment

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

virtme-ng brings a lot of dependencies (all the kernel build dependencies basically). If this is slowing down the CI too much we may also consider to git clone https://github.com/arighi/virtme-ng.git and install only a subset of dependencies (that should be this: python3-pip qemu-system-x86 qemu-kvm libvirt-clients busybox-static kbd kmod file rsync zstd), like the bare minimum requirements to run vng and test a custom kernel.

But apart than that everything else looks good.

In the meantime I'll work on a fix for virtme-ng to properly support docker (see arighi/virtme-ng#51).

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