Skip to content

Commit

Permalink
workflows: Change actions to use rocky linux instead of centos-7 (#15)
Browse files Browse the repository at this point in the history
Signed-off-by: Priyankar Jain <[email protected]>
  • Loading branch information
priyankar-jain authored Aug 21, 2024
1 parent 411a739 commit 151bcb4
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,18 +21,18 @@ jobs:
run: sudo make check # Since some of the tests require cap_net_admin
# hence running the tests as sudo.

build-centos-7:
build-rocky-linux:
timeout-minutes: 10
runs-on: ubuntu-latest
container: centos:7
container: rockylinux/rockylinux:8
steps:
- uses: actions/checkout@v2
- name: Install dependencies
run: |
yum install -y make gcc-4.8.5 glib2-devel libmnl-devel libnetfilter_conntrack-devel check dbus
dnf --enablerepo=powertools install -y make gcc glib2-devel libmnl-devel libnetfilter_conntrack-devel check dbus
- name: Build
run: |
make all
# since github actions does not allow to set capability cap_net_admin
# to container, skipping tests on centos-7.
# to container, skipping tests.

0 comments on commit 151bcb4

Please sign in to comment.