Skip to content

Commit

Permalink
Run clinfo on CI
Browse files Browse the repository at this point in the history
Signed-off-by: Rodrigo Tobar <[email protected]>
  • Loading branch information
rtobar committed Jul 10, 2024
1 parent 1f7a706 commit 05aafc5
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/build-and-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
env:
REQUIRED_DEPS: ninja-build
COMPILER_DEPS: ${{ env.CXX == 'clang++' && 'clang' || '' }}
OPTIONAL_DEPS: ${{ ! matrix.poor_build && 'libfftw3-dev opencl-headers' || '' }}
OPTIONAL_DEPS: ${{ ! matrix.poor_build && 'libfftw3-dev opencl-headers clinfo' || '' }}
MATH_DEPS: ${{ matrix.use_r && 'r-mathlib' || 'libgsl-dev' }}
if: ${{ matrix.os == 'ubuntu-latest' }}
run: |
Expand All @@ -48,7 +48,7 @@ jobs:
- name: Install system dependencies (MacOS)
if: ${{ matrix.os == 'macos-latest' }}
run: |
brew install ninja gsl fftw
brew install ninja gsl fftw clinfo
- name: Configure
env:
Expand All @@ -66,6 +66,10 @@ jobs:
- name: Build
run: cmake --build ${CI_BUILD_DIR}

- name: Show OpenCL information
if: ${{ ! matrix.poor_build }}
run: clinfo

# Let MacOS tests fail until OpenCL issues are identified
- name: Run unit tests
run: |
Expand Down

0 comments on commit 05aafc5

Please sign in to comment.