From e209ce4e86c1ca01af6fa432eec7465915e4fd5b Mon Sep 17 00:00:00 2001 From: Jerzy Jamroz Date: Mon, 4 Mar 2024 09:45:45 +0100 Subject: [PATCH] fix: linux-build limited to kernel v5. --- .github/workflows/linux-build-latest.yml | 22 ++++++++++++++++++++++ .github/workflows/linux-build.yml | 2 +- 2 files changed, 23 insertions(+), 1 deletion(-) diff --git a/.github/workflows/linux-build-latest.yml b/.github/workflows/linux-build-latest.yml index 7df40716..e9a911fe 100644 --- a/.github/workflows/linux-build-latest.yml +++ b/.github/workflows/linux-build-latest.yml @@ -47,3 +47,25 @@ jobs: - name: Build run: | make -C mrmShared/linux CC=${CC:=gcc} KERNELDIR="$PWD/kernel" + + host: + name: With latest Ubuntu VM host + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - name: Info + run: | + uname -a + gcc --version + - name: Deps + run: | + sudo apt-get update + sudo apt-get -y install linux-headers-`uname -r` + - name: Build + run: make -C mrmShared/linux + - name: Install/Load + run: | + sudo make -C mrmShared/linux modules_install + sudo depmod -a + sudo modprobe mrf + sudo dmesg | tail -n 100 diff --git a/.github/workflows/linux-build.yml b/.github/workflows/linux-build.yml index 76ab468f..a6e7c5df 100644 --- a/.github/workflows/linux-build.yml +++ b/.github/workflows/linux-build.yml @@ -61,7 +61,7 @@ jobs: host: name: With VM host - runs-on: ubuntu-latest + runs-on: ubuntu-20.04 steps: - uses: actions/checkout@v2 - name: Info