hwmon: refactor & support lookup of all indices #202
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: C/C++ CI | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
build-ubuntu: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-20.04, ubuntu-22.04] | |
steps: | |
- uses: actions/checkout@v2 | |
- name: install-deps | |
run: sudo apt install libyaml-cpp-dev libatasmart-dev cmake libsensors4-dev | |
- name: build | |
run: | | |
mkdir build | |
cmake -B build | |
cmake --build build | |
- name: install | |
run: sudo cmake --install ${{ github.workspace }}/build |