diff options
| author | Denys Fedoryshchenko <denys.f@collabora.com> | 2025-07-12 13:08:05 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-07-12 13:08:05 +0300 |
| commit | cc6322310a537247a63aa21de6ce18e0b0195a2c (patch) | |
| tree | 69f28616b69e7489813ea0023ee74c2d6c19e19f | |
| parent | e06f5b835eb3ef28a2489ca903bc410175225c11 (diff) | |
| parent | d852c31d1fd3175f47d811f6ab51ef426a574894 (diff) | |
| download | accel-ppp-cc6322310a537247a63aa21de6ce18e0b0195a2c.tar.gz accel-ppp-cc6322310a537247a63aa21de6ce18e0b0195a2c.zip | |
Merge pull request #250 from svlobanov/ci-fedora-rawhide-build
ci: add fedora:rawhide build to build with latest kernel
| -rw-r--r-- | .github/workflows/build-and-run.yml | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/.github/workflows/build-and-run.yml b/.github/workflows/build-and-run.yml index 3dfebd86..758ec278 100644 --- a/.github/workflows/build-and-run.yml +++ b/.github/workflows/build-and-run.yml @@ -283,3 +283,38 @@ jobs: run: sleep 1 - name: Check accel-ppp stat run: accel-cmd show stat + + Build-in-Container-Fedora: + runs-on: ubuntu-24.04 + container: + image: fedora:rawhide + steps: + - name: Install build tools + run: | + dnf -y install git make cmake gcc pcre2-devel openssl-devel lua-devel kernel-devel + - name: Check out repository code + uses: actions/checkout@v4 + with: + fetch-depth: 0 + - name: mkdir build + run: mkdir build + - name: Disable git security warnings + run: git config --global --add safe.directory '*' + - name: cmake + working-directory: ./build + run: > + cmake -DBUILD_IPOE_DRIVER=TRUE -DBUILD_VLAN_MON_DRIVER=TRUE -DCMAKE_INSTALL_PREFIX=/usr + -DCMAKE_INSTALL_SYSCONFDIR=/etc + -DKDIR=/usr/src/kernels/`ls -1 -t /usr/src/kernels | head -n 1` + -DLUA=TRUE -DSHAPER=TRUE -DRADIUS=TRUE .. + - name: make and install + working-directory: ./build + run: make && make install + - name: Copy default config + run: cp accel-pppd/accel-ppp.conf /etc/accel-ppp.conf + - name: Start accel-ppp with default config + run: accel-pppd -d -c /etc/accel-ppp.conf + - name: Sleep for 1 sec + run: sleep 1 + - name: Check accel-ppp stat + run: accel-cmd show stat |
