Skip to content

Commit

Permalink
github: run tests outside of containers
Browse files Browse the repository at this point in the history
Signed-off-by: Robin Jarry <rjarry@redhat.com>
  • Loading branch information
rjarry committed May 29, 2024
1 parent 260b670 commit a0070d6
Showing 1 changed file with 9 additions and 18 deletions.
27 changes: 9 additions & 18 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,27 +11,18 @@ on:

jobs:
build:
runs-on: ubuntu-latest
container:
image: fedora:latest
options: --device=/dev/net/tun --privileged
runs-on: ubuntu-24.04
env:
CC: ccache gcc
steps:
- run: |
dnf install -y \
make gcc ccache ninja-build meson git gcovr scdoc \
socat \
tcpdump \
iproute \
iputils \
libasan \
libcmocka-devel \
libedit-devel \
libevent-devel \
libsmartcols-devel \
numactl-devel \
python3-pyelftools
- name: install system dependencies
run: |
set -xe
sudo apt-get update -qy
sudo apt-get install -qy \
make gcc ccache ninja-build meson git scdoc socat tcpdump \
iproute2 iputils-ping libasan8 libcmocka-dev libedit-dev \
libevent-dev libsmartcols-dev libnuma-dev python3-pyelftools
- uses: actions/checkout@v4
- uses: actions/cache@v4
with:
Expand Down

0 comments on commit a0070d6

Please sign in to comment.