From ae5eaec84dcc6dbe533b90ab84f4aa36b6ca7995 Mon Sep 17 00:00:00 2001 From: Tim Hutton Date: Mon, 10 Jun 2024 01:11:43 +0100 Subject: [PATCH] Turn off OpenCL tests for macOS 14 since OpenCL is no longer supported. --- .github/workflows/build_macos.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build_macos.yml b/.github/workflows/build_macos.yml index 3f4f54cf..eca2f61b 100644 --- a/.github/workflows/build_macos.yml +++ b/.github/workflows/build_macos.yml @@ -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