Skip to content

Commit 1d9d304

Browse files
committed
CI: add openSUSE to the matrix
Signed-off-by: Emil Velikov <[email protected]>
1 parent aedf699 commit 1d9d304

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

.github/workflows/tests.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,8 @@ jobs:
3636
- {name: "fedora/fedora", tag: "39", url: "quay.io/"}
3737
- {name: "fedora/fedora", tag: "38", url: "quay.io/"}
3838
- {name: "gentoo/stage3", tag: "latest"}
39+
- {name: "opensuse/tumbleweed", tag: "latest", variant: "-default", url: "registry.opensuse.org/"}
40+
- {name: "opensuse/leap", tag: "15.5", variant: "-default", url: "registry.opensuse.org/"}
3941
- {name: "ubuntu", tag: "23.10"}
4042
- {name: "ubuntu", tag: "22.04"}
4143
- {name: "ubuntu", tag: "20.04"}
@@ -45,6 +47,11 @@ jobs:
4547
image: ${{ matrix.distro.url }}${{ matrix.distro.name }}:${{ matrix.distro.tag }}
4648

4749
steps:
50+
- name: Install git for checkout action
51+
if: contains(matrix.distro.name, 'opensuse')
52+
run: |
53+
zypper --non-interactive install git
54+
4855
- uses: actions/checkout@v3
4956

5057
- name: Install AlmaLinux dependencies
@@ -85,6 +92,11 @@ jobs:
8592
emerge --sync
8693
FEATURES="getbinpkg binpkg-ignore-signature" USE="generic-uki" emerge --noreplace -j$(nproc) -l$(nproc) --autounmask-continue '>=sys-kernel/gentoo-kernel-bin-6.6.0'
8794
95+
- name: Install openSUSE leap dependencies
96+
if: contains(matrix.distro.name, 'opensuse')
97+
run: |
98+
zypper --non-interactive install diffutils elfutils gcc kernel${{ matrix.distro.variant }} kernel${{ matrix.distro.variant }}-devel make openssl
99+
88100
- name: Install Ubuntu dependencies
89101
if: matrix.distro.name == 'ubuntu'
90102
run: |

0 commit comments

Comments
 (0)