Skip to content

Commit

Permalink
add rocky9 build test
Browse files Browse the repository at this point in the history
  • Loading branch information
Andreas Lundin committed Nov 17, 2024
1 parent ab52628 commit b6c5e2d
Showing 1 changed file with 23 additions and 3 deletions.
26 changes: 23 additions & 3 deletions .github/workflows/github-actions-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,8 @@ on: [push, pull_request]
jobs:
build:
runs-on: ${{ matrix.os }}

strategy:
fail-fast: false

matrix:
os: [ubuntu-latest, ubuntu-22.04, macOS-14, macOS-15]
compiler: [gcc, clang]
Expand All @@ -17,7 +15,6 @@ jobs:
compiler: gcc
- os: macOS-15
compiler: gcc

steps:
- uses: actions/checkout@v4

Expand All @@ -33,5 +30,28 @@ jobs:

- name: Execute
run: /usr/local/sbin/ifpstat -v
rocky-build:
runs-on: ubuntu-latest
container:
image: rockylinux/rockylinux:9
steps:
- uses: actions/checkout@v4

- name: Install build tools
run: dnf groupinstall -y 'Development Tools'

- name: Enable CRB repository
run: dnf config-manager -y --set-enabled crb

- name: Install libpcap-devel
run: dnf install -y libpcap-devel

- name: Compile
run: make

- name: Install
run: make install

- name: Execute
run: /usr/local/sbin/ifpstat -v
...

0 comments on commit b6c5e2d

Please sign in to comment.