plugin/cuda: disable CUDA plugin if /dev/nvidiactl isn't present #3384
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: Compat Tests | |
on: [push, pull_request] | |
# Cancel any preceding run on the pull request. | |
concurrency: | |
group: compat-test-${{ github.event.pull_request.number || github.ref }} | |
cancel-in-progress: ${{ github.ref != 'refs/heads/criu-dev' }} | |
jobs: | |
build: | |
runs-on: ubuntu-22.04 | |
strategy: | |
matrix: | |
target: [GCC, CLANG] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Run Compat Tests (${{ matrix.target }}) | |
run: sudo -E make -C scripts/ci local COMPAT_TEST=y ${{ matrix.target }}=1 |