Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
pubalokta committed Nov 13, 2024
1 parent ae629da commit 5af15fa
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
strategy:
matrix:
node-version: [18.x]
kernel: [6.1]
kernel: [6.5]

steps:
- name: Checkout
Expand All @@ -31,12 +31,13 @@ jobs:
wget https://github.com/veithen/knetstat/archive/refs/heads/master.zip
unzip master.zip
cd knetstat-master
curl https://cdn.kernel.org/pub/linux/kernel/$(echo ${{ matrix.kernel }} | sed -E 's/([^.]+)[.].*/v\1.x/')/linux-${{ matrix.kernel }}.tar.xz | tar xJ
wget https://cl.archive.ubuntu.com/ubuntu/pool/main/l/linux-azure-6.5/linux-azure-6.5_6.5.0.orig.tar.gz && tar xvzf linux-azure-6.5_6.5.0.orig.tar.gz
cp /boot/config-$(uname -r) linux-${{ matrix.kernel }}/.config
make -C linux-${{ matrix.kernel }} clean
yes "" | make -C linux-${{ matrix.kernel }} oldconfig
make -C linux-${{ matrix.kernel }} modules_prepare
make KSRC=linux-${{ matrix.kernel }}
sed -i '/Module.symvers/d' ./Makefile
make KBUILD_MODPOST_WARN=1 KSRC=linux-${{ matrix.kernel }}
sudo insmod knetstat.ko
sudo lsmod | grep knetstat
Expand Down

0 comments on commit 5af15fa

Please sign in to comment.