-
Notifications
You must be signed in to change notification settings - Fork 1
37 lines (33 loc) · 1.35 KB
/
Copy pathkernel-module-make-cpp.yml
File metadata and controls
37 lines (33 loc) · 1.35 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
name: Arduino Uno Q Linux Kernel Module Make C/C++ CI
on:
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-24.04-arm
steps:
- name: Install Linux Kernel Make deps
run: sudo apt-get update && sudo apt-get install build-essential bc bison flex libssl-dev libncurses5-dev libelf-dev fakeroot xz-utils git dwarves rsync
- name: Checkout this repository
uses: actions/checkout@v4
- name: Checkout kernel source repo
uses: actions/checkout@v4
with:
repository: arduino/linux-qcom
path: linux-qcom
- name: Copy .config file to source repo
run: cp config-6.16.7-g0dd6551ae96b ./linux-qcom/.config
# - name: Copy Makefile file to source repo
# run: cp -f Makefile ./linux-qcom/drivers/usb/misc/
- name: Setup make configs
run: cd linux-qcom && scripts/config --set-str LOCALVERSION "-g0dd6551ae96b" && scripts/config --set-str CONFIG_USB_LEGOTOWER "m"
- name: make prepare
run: cd linux-qcom && make prepare
- name: make modules_prepare
run: cd linux-qcom && make modules_prepare
- name: make modules
run: cd linux-qcom && make -j$(nproc) -C . modules
- name: Upload LEGO USB Tower driver kernel module as an artifact
uses: actions/download-artifact@v4
with:
name: legousbtower.ko
path: linux-qcom/drivers/usb/misc/legousbtower.ko