From 3aefcdf71c971b6945e37539b696e01767c3df8a Mon Sep 17 00:00:00 2001 From: rzadp Date: Thu, 22 Aug 2024 11:00:44 +0200 Subject: [PATCH] try fedora --- .github/workflows/check-getting-started.yml | 5 ++++- scripts/getting-started.sh | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/check-getting-started.yml b/.github/workflows/check-getting-started.yml index 2388c049cfb3c..b3f4d01c8098c 100644 --- a/.github/workflows/check-getting-started.yml +++ b/.github/workflows/check-getting-started.yml @@ -15,7 +15,7 @@ jobs: strategy: fail-fast: true matrix: - os: [{name: arch, container: archlinux}] + os: [{name: fedora, container: fedora}] template: [minimal] runs-on: ubuntu-latest container: ${{ matrix.os.container }}:latest @@ -29,6 +29,9 @@ jobs: - name: Install arch prerequisites run: pacman -Syu --needed --noconfirm expect sudo if: contains(matrix.os.name, 'arch') + - name: Install fedora prerequisites + run: dnf install expect sudo + if: contains(matrix.os.name, 'fedora') - name: Set additional expect flags if necessary run: | diff --git a/scripts/getting-started.sh b/scripts/getting-started.sh index 6e2e4d66d2239..0edad1060fc98 100755 --- a/scripts/getting-started.sh +++ b/scripts/getting-started.sh @@ -106,7 +106,7 @@ elif [ "$os_name" = "Linux" ]; then elif [ "$distro" = "fedora" ]; then printf "\n🐧 Detected Fedora. Using dnf to install dependencies.\n" sudo dnf update - sudo dnf install clang curl git openssl-devel make protobuf-compiler + sudo dnf install --assumeyes clang curl git openssl-devel make protobuf-compiler perl elif [ "$distro" = "opensuse" ]; then printf "\n🐧 Detected openSUSE. Using zypper to install dependencies.\n" sudo zypper install clang curl git openssl-devel llvm-devel libudev-devel make protobuf