- distro: debian
release: testing
- distro: ubuntu
- release: jammy
+ release: noble
- distro: fedora
release: "39"
- distro: fedora
release: tumbleweed
- distro: centos
release: "9"
- - distro: centos
- release: "8"
env:
SYSTEMD_LOG_LEVEL: debug
steps:
- - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
- - uses: systemd/mkosi@070528fec478fc93af7ec057a5d2fd0045123c99
+ - uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633
+ - uses: systemd/mkosi@5fd70560a1b1ac854b9e1c5a450df311f9000121
+
+ # Freeing up disk space with rm -rf can take multiple minutes. Since we don't need the extra free space
+ # immediately, we remove the files in the background. However, we first move them to a different location
+ # so that nothing tries to use anything in these directories anymore while we're busy deleting them.
+ - name: Free disk space
+ run: |
+ sudo mv /usr/local /usr/local.trash
+ sudo mv /opt/hostedtoolcache /opt/hostedtoolcache.trash
+ sudo systemd-run rm -rf /usr/local.trash /opt/hostedtoolcache.trash
- name: Configure
run: |
# Build a disk image in CI as this logic is much more prone to breakage.
Format=disk
- [Content]
- Environment=CI_BUILD=1
- SLOW_TESTS=true
-
[Host]
ToolsTree=default
ToolsTreeDistribution=fedora
QemuVsock=yes
# Sometimes we run on a host with /dev/kvm, but it is broken, so explicitly disable it
- QemuKvm=no
+ QemuKvm=yes
+ # TODO: Drop once https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2038777 is fixed in Github Actions
+ QemuFirmware=uefi
Ephemeral=yes
EOF