Aquaero add pwm_enable #405
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: compile-driver | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: checkout repo | |
uses: actions/checkout@v2 | |
- name: checkout linux | |
uses: actions/checkout@v2 | |
with: | |
repository: torvalds/linux | |
path: ./linux | |
ref: v6.4 | |
- name: install libelf-dev | |
run: | | |
sudo apt update | |
sudo apt install libelf-dev | |
- name: prepare linux | |
working-directory: ./linux | |
run: | | |
make x86_64_defconfig | |
make modules_prepare | |
- name: compile driver | |
run: KBUILD_MODPOST_WARN=1 make -C ./linux M=$PWD modules |