nzxt-kraken3: Improve things noticed in #43, always return -ENODATA if device is faulty #155
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: build | |
on: [push, pull_request] | |
jobs: | |
build: | |
strategy: | |
fail-fast: false | |
matrix: | |
kernel_version: | |
- master | |
- v5.15 | |
- v5.10 | |
kconfig_pm: | |
- "-e CONFIG_PM" | |
- "-d CONFIG_PM" | |
kconfig_debug_fs: | |
- "-e CONFIG_DEBUG_FS" | |
- "-d CONFIG_DEBUG_FS" | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
path: src | |
- run: echo "::add-matcher::src/.github/workflows/gcc-problem-matcher.json" | |
- run: sudo apt-get update | |
- run: sudo apt-get install -y libelf-dev | |
- uses: actions/checkout@v4 | |
with: | |
repository: torvalds/linux | |
path: linux | |
ref: ${{ matrix.kernel_version }} | |
- run: cp src/.github/workflows/all.config linux/ | |
- run: scripts/config --file all.config ${{ matrix.kconfig_pm }} ${{ matrix.kconfig_debug_fs }} | |
working-directory: linux | |
- run: KCONFIG_ALLCONFIG=1 make allnoconfig | |
working-directory: linux | |
- run: make -j$(nproc) | |
working-directory: linux | |
- run: make -k "KDIR=${{ github.workspace }}/linux" | |
working-directory: src |