Skip to content

Commit

Permalink
fix: linux-build limited to kernel v5.
Browse files Browse the repository at this point in the history
  • Loading branch information
jerzyjamroz committed Mar 4, 2024
1 parent 80443c9 commit e209ce4
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 1 deletion.
22 changes: 22 additions & 0 deletions .github/workflows/linux-build-latest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion .github/workflows/linux-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e209ce4

Please sign in to comment.