From d73f9a5cf05b9f9c08bbb2dcf2e84a7966b0ea97 Mon Sep 17 00:00:00 2001 From: Priyankar Jain Date: Wed, 21 Aug 2024 10:55:51 +0530 Subject: [PATCH] workflows: Change actions to use rocky linux instead of centos-7 Signed-off-by: Priyankar Jain --- .github/workflows/pull_request.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml index 969f301..6a88963 100644 --- a/.github/workflows/pull_request.yml +++ b/.github/workflows/pull_request.yml @@ -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.