Skip to content

hwmon: Differentiate between Aquaero 5 and 6, add pwm_mode support #361

hwmon: Differentiate between Aquaero 5 and 6, add pwm_mode support

hwmon: Differentiate between Aquaero 5 and 6, add pwm_mode support #361

name: compile-driver
on:
push:
branches: [ main, gh-actions-test ]
pull_request:
branches: [ main, gh-actions-test ]
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: v5.18
- 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: make -C ./linux M=$PWD modules