From dcb6af6dc0c0250a67d0ceac4bb3a8a3f2cc2fdd Mon Sep 17 00:00:00 2001 From: Daniel Nicoletti Date: Thu, 2 May 2024 16:02:23 -0300 Subject: [PATCH] Force intel build for Qt5 on AppleSilicon arm64 Also disable 2 failing presets on macos until we find out what's wrong --- .github/workflows/build.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index ab9e75c91..1b825e553 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -26,6 +26,7 @@ jobs: config: - preset: ci-dev-client-only-qt5 qt_version: "5.15" + cmake_osx_architectures: "x86_64" tests_with: qt5 - preset: ci-dev-client-only-qt6 @@ -35,17 +36,32 @@ jobs: - preset: ci-dev-client-and-ui-qt5 qt_version: "5.15" + cmake_osx_architectures: "x86_64" tests_with: qt5 - preset: ci-dev-client-and-ui-qt6 qt_version: "6.5.*" + qt_modules: qtscxml tests_with: qt6 - preset: ci-dev-probe-only-qt5 qt_version: "5.15" + cmake_osx_architectures: "x86_64" - preset: ci-dev-probe-only-qt6 qt_version: "6.5.*" + qt_modules: qtscxml + + # GitHub actions is now powered by AppleSilicon macs + # and these presets are failing + exclude: + - os: macos-latest + config: + preset: ci-dev-client-and-ui-qt5 + + - os: macos-latest + config: + preset: ci-dev-client-and-ui-qt6 steps: - name: Install Qt with options and default aqtversion @@ -77,6 +93,7 @@ jobs: - name: Configure project run: > cmake -S . -G Ninja --preset ${{ matrix.config.preset }} + -DCMAKE_OSX_ARCHITECTURES=${{ matrix.config.cmake_osx_architectures}} -DGAMMARAY_WITH_KDSME=${{ runner.os == 'Linux' }} -DGAMMARAY_BUILD_DOCS=${{ runner.os == 'Linux' }}