Skip to content

Commit

Permalink
Force intel build for Qt5 on AppleSilicon arm64
Browse files Browse the repository at this point in the history
Also disable 2 failing presets on macos
until we find out what's wrong
  • Loading branch information
dantti committed May 2, 2024
1 parent 38f489c commit dcb6af6
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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' }}
Expand Down

0 comments on commit dcb6af6

Please sign in to comment.