Skip to content

Commit e209ce4

Browse files
committed
fix: linux-build limited to kernel v5.
1 parent 80443c9 commit e209ce4

File tree

2 files changed

+23
-1
lines changed

2 files changed

+23
-1
lines changed

.github/workflows/linux-build-latest.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,3 +47,25 @@ jobs:
4747
- name: Build
4848
run: |
4949
make -C mrmShared/linux CC=${CC:=gcc} KERNELDIR="$PWD/kernel"
50+
51+
host:
52+
name: With latest Ubuntu VM host
53+
runs-on: ubuntu-latest
54+
steps:
55+
- uses: actions/checkout@v2
56+
- name: Info
57+
run: |
58+
uname -a
59+
gcc --version
60+
- name: Deps
61+
run: |
62+
sudo apt-get update
63+
sudo apt-get -y install linux-headers-`uname -r`
64+
- name: Build
65+
run: make -C mrmShared/linux
66+
- name: Install/Load
67+
run: |
68+
sudo make -C mrmShared/linux modules_install
69+
sudo depmod -a
70+
sudo modprobe mrf
71+
sudo dmesg | tail -n 100

.github/workflows/linux-build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ jobs:
6161
6262
host:
6363
name: With VM host
64-
runs-on: ubuntu-latest
64+
runs-on: ubuntu-20.04
6565
steps:
6666
- uses: actions/checkout@v2
6767
- name: Info

0 commit comments

Comments
 (0)