diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 365eeab..d6de0ea 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -17,7 +17,7 @@ jobs: strategy: matrix: node-version: [18.x] - kernel: [5.15] + kernel: [6.0] steps: - name: Checkout @@ -31,9 +31,7 @@ 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 - apt install linux-source-${{ matrix.kernel }} - tar -C ./ -xvf /usr/src/linux-source-${{ matrix.kernel }}.tar.xz + curl https://cdn.kernel.org/pub/linux/kernel/$(echo ${{ matrix.kernel }} | sed -E 's/([^.]+)[.].*/v\1.x/')/linux-${{ matrix.kernel }}.tar.xz | tar xJ cp /boot/config-$(uname -r) linux-${{ matrix.kernel }}/.config make -C linux-${{ matrix.kernel }} clean yes "" | make -C linux-${{ matrix.kernel }} oldconfig