Skip to content

Commit

Permalink
CI: add openSUSE to the matrix
Browse files Browse the repository at this point in the history
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
  • Loading branch information
evelikov committed Feb 8, 2024
1 parent aedf699 commit 1d9d304
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@ jobs:
- {name: "fedora/fedora", tag: "39", url: "quay.io/"}
- {name: "fedora/fedora", tag: "38", url: "quay.io/"}
- {name: "gentoo/stage3", tag: "latest"}
- {name: "opensuse/tumbleweed", tag: "latest", variant: "-default", url: "registry.opensuse.org/"}
- {name: "opensuse/leap", tag: "15.5", variant: "-default", url: "registry.opensuse.org/"}
- {name: "ubuntu", tag: "23.10"}
- {name: "ubuntu", tag: "22.04"}
- {name: "ubuntu", tag: "20.04"}
Expand All @@ -45,6 +47,11 @@ jobs:
image: ${{ matrix.distro.url }}${{ matrix.distro.name }}:${{ matrix.distro.tag }}

steps:
- name: Install git for checkout action
if: contains(matrix.distro.name, 'opensuse')
run: |
zypper --non-interactive install git
- uses: actions/checkout@v3

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

0 comments on commit 1d9d304

Please sign in to comment.