Skip to content

Commit

Permalink
Turn off OpenCL tests for macOS 14 since OpenCL is no longer supported.
Browse files Browse the repository at this point in the history
  • Loading branch information
timhutton committed Jun 10, 2024
1 parent d54408b commit ae5eaec
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/build_macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,14 +59,15 @@ jobs:
run: cmake --build . --config ${{matrix.build_type}}

- name: Test (with OpenCL)
if: matrix.build_type == 'Release'
if: ${{ (matrix.build_type == 'Release') && (matrix.os != 'macos-14') }}
# Run the full suite of tests since OpenCL is available
# Since macOS 14, OpenCL is no longer supported. :(
shell: bash
working-directory: ${{runner.workspace}}/build
run: ctest --output-on-failure -C ${{matrix.build_type}}

- name: Test (without OpenCL)
if: matrix.build_type == 'Debug'
if: ${{ (matrix.build_type == 'Debug') || (matrix.os == 'macos-14') }}
# Run a restricted suite of tests (OpenCL is available but the tests are slow on Debug)
shell: bash
working-directory: ${{runner.workspace}}/build
Expand Down

0 comments on commit ae5eaec

Please sign in to comment.