Skip to content

Commit

Permalink
try fedora
Browse files Browse the repository at this point in the history
  • Loading branch information
rzadp committed Aug 22, 2024
1 parent 5dd2699 commit 3aefcdf
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/check-getting-started.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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: |
Expand Down
2 changes: 1 addition & 1 deletion scripts/getting-started.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 3aefcdf

Please sign in to comment.