From 05aafc524fc0b8bf66de0be5d8549249f5b43eae Mon Sep 17 00:00:00 2001 From: Rodrigo Tobar Date: Thu, 11 Jul 2024 00:14:26 +0800 Subject: [PATCH] Run clinfo on CI Signed-off-by: Rodrigo Tobar --- .github/workflows/build-and-test.yaml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-and-test.yaml b/.github/workflows/build-and-test.yaml index 7ca63f0..18799d6 100644 --- a/.github/workflows/build-and-test.yaml +++ b/.github/workflows/build-and-test.yaml @@ -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: | @@ -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: @@ -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: |