Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

CI: add openSUSE to the matrix #399

Merged
merged 1 commit into from
Feb 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
5 changes: 3 additions & 2 deletions run_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -248,13 +248,14 @@ case "${os_id}" in
expected_dest_loc=extra
mod_compression_ext=.xz
;;
sles | suse | opensuse)
sles | suse | opensuse*)
expected_dest_loc=updates
mod_compression_ext=.zst
;;
arch)
expected_dest_loc=updates/dkms
;;
debian | ubuntu | linuxmint)
debian* | ubuntu | linuxmint)
expected_dest_loc=updates/dkms
;;
alpine)
Expand Down
Loading