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 <rtobar@icrar.org>
  • Loading branch information
rtobar committed Jul 10, 2024
1 parent 1f7a706 commit e739b23
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 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,9 @@ jobs:
- name: Build
run: cmake --build ${CI_BUILD_DIR}

- name: Show OpenCL information
run: clinfo

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

0 comments on commit e739b23

Please sign in to comment.