mirror of
https://github.com/qmk/qmk_firmware.git
synced 2025-09-10 17:15:43 +00:00
OpenSUSE support.
This commit is contained in:
13
.github/workflows/bootstrap_testing.yml
vendored
13
.github/workflows/bootstrap_testing.yml
vendored
@@ -38,12 +38,19 @@ jobs:
|
||||
- fedora:42
|
||||
- rockylinux:8
|
||||
- rockylinux:9
|
||||
- rockylinux/rockylinux:10
|
||||
- almalinux:8
|
||||
- almalinux:9
|
||||
- almalinux:10
|
||||
|
||||
# OpenSUSE based
|
||||
- opensuse/leap:latest
|
||||
- opensuse/tumbleweed:latest
|
||||
|
||||
# Arch based
|
||||
- archlinux:latest
|
||||
- cachyos/cachyos:latest
|
||||
- manjarolinux/base:latest
|
||||
|
||||
container:
|
||||
image: ${{ matrix.distribution }}
|
||||
@@ -60,7 +67,11 @@ jobs:
|
||||
*fedora*|*rockylinux*|*almalinux*)
|
||||
dnf install -y sudo git passwd findutils # findutils=xargs
|
||||
;;
|
||||
*archlinux*|*cachyos*)
|
||||
*suse*)
|
||||
zypper --non-interactive refresh
|
||||
zypper --non-interactive install sudo git shadow
|
||||
;;
|
||||
*archlinux*|*cachyos*|*manjaro*)
|
||||
pacman -Syu --noconfirm
|
||||
pacman -S --noconfirm sudo git
|
||||
;;
|
||||
|
||||
@@ -220,6 +220,7 @@ __EOT__
|
||||
*arch* | *manjaro* | *cachyos*) echo "zstd base-devel clang diffutils wget unzip zip hidapi dos2unix git" ;;
|
||||
*debian* | *ubuntu*) echo "zstd build-essential clang-format diffutils wget unzip zip libhidapi-hidraw0 dos2unix git" ;;
|
||||
*fedora*) echo "zstd clang diffutils which gcc git wget unzip zip hidapi dos2unix libusb-devel libusb1-devel libusb-compat-0.1-devel libusb0-devel git epel-release" ;;
|
||||
*suse*) echo "zstd patterns-devel-base-devel_basis clang diffutils wget unzip zip libhidapi-hidraw0 dos2unix git libusb-1_0-devel gzip" ;;
|
||||
*)
|
||||
echo >&2
|
||||
echo "Sorry, we don't recognize your distribution." >&2
|
||||
@@ -301,6 +302,12 @@ __EOT__
|
||||
$(nsudo) dnf -y install "$pkg" 2>/dev/null || true
|
||||
done
|
||||
;;
|
||||
*opensuse* | *suse*)
|
||||
echo "It will also install the following system packages using 'zypper':" >&2
|
||||
print_package_manager_deps_and_delay
|
||||
$(nsudo) zypper --non-interactive refresh
|
||||
$(nsudo) zypper --non-interactive install $(get_package_manager_deps)
|
||||
;;
|
||||
*)
|
||||
print_package_manager_deps_and_delay
|
||||
echo "Proceeding with the installation, you will need to ensure prerequisites are installed." >&2
|
||||
|
||||
Reference in New Issue
Block a user