Skip to content

Commit 3c4b115

Browse files
committed
Complete migration from Cirrus CI to GHA (Lima)
Fix issue 5238 Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
1 parent 506a568 commit 3c4b115

2 files changed

Lines changed: 8 additions & 129 deletions

File tree

.cirrus.yml

Lines changed: 0 additions & 127 deletions
This file was deleted.

.github/workflows/test.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -210,8 +210,12 @@ jobs:
210210
PKG_CONFIG_PATH: /usr/386/lib/pkgconfig
211211
run: sudo -E PATH="$PATH" -- make GOARCH=386 localunittest
212212

213-
fedora:
213+
lima:
214214
timeout-minutes: 30
215+
strategy:
216+
fail-fast: false
217+
matrix:
218+
template: [fedora, almalinux-8, almalinux-9, centos-stream-10]
215219
runs-on: ubuntu-24.04
216220
steps:
217221
- uses: actions/checkout@v6
@@ -230,7 +234,7 @@ jobs:
230234
# CPUs: min(4, host CPU cores)
231235
# RAM: min(4 GiB, half of host memory)
232236
# Disk: 100 GiB
233-
run: limactl start --plain --name=default template://fedora
237+
run: limactl start --plain --name=default template:${{ matrix.template }}
234238

235239
- name: "Initialize VM"
236240
run: |
@@ -264,6 +268,8 @@ jobs:
264268
run: ssh -tt lima-default sudo -i make -C /tmp/runc localintegration
265269

266270
- name: "Run integration tests (systemd driver, rootless)"
271+
# Needs cgroup v2
272+
if: ${{ matrix.template != 'almalinux-8' }}
267273
run: ssh -tt lima-default sudo -i make -C /tmp/runc localrootlessintegration RUNC_USE_SYSTEMD=yes
268274

269275
- name: "Run integration tests (fs driver, rootless)"

0 commit comments

Comments
 (0)