aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEike Ziller <eike.ziller@qt.io>2023-01-02 15:03:21 +0100
committerEike Ziller <eike.ziller@qt.io>2023-01-02 15:03:21 +0100
commit52d9f92e3fbec060157515984dcc0e1969285e85 (patch)
treea4623bc5459e5ff64a7bd3807a4811a6ecbe0531
parent213a1e080c9b46b07a1d95f7fec6a1db41b9f345 (diff)
parent3a62cbfe1353df3e6450a744dbbd66ce6952d6e4 (diff)
Merge remote-tracking branch 'origin/9.0'
-rw-r--r--.github/workflows/build_cmake.yml14
1 files changed, 10 insertions, 4 deletions
diff --git a/.github/workflows/build_cmake.yml b/.github/workflows/build_cmake.yml
index 5124fd4..6810fa6 100644
--- a/.github/workflows/build_cmake.yml
+++ b/.github/workflows/build_cmake.yml
@@ -4,9 +4,10 @@ on: [push]
env:
PLUGIN_NAME: Haskell
- QT_VERSION: 6.4.0
- QT_CREATOR_VERSION: 9.0.0-beta1
- QT_CREATOR_SNAPSHOT: latest
+ QT_VERSION: 6.4.1
+ MACOS_DEPLOYMENT_TARGET: 10.14
+ QT_CREATOR_VERSION: 9.0.0
+ QT_CREATOR_SNAPSHOT: NO
CMAKE_VERSION: 3.21.1
NINJA_VERSION: 1.10.2
@@ -202,7 +203,7 @@ jobs:
run: |
set(ENV{CC} ${{ matrix.config.cc }})
set(ENV{CXX} ${{ matrix.config.cxx }})
- set(ENV{MACOSX_DEPLOYMENT_TARGET} "10.13")
+ set(ENV{MACOSX_DEPLOYMENT_TARGET} "${{ env.MACOS_DEPLOYMENT_TARGET }}")
if ("${{ runner.os }}" STREQUAL "Windows" AND NOT "x${{ matrix.config.environment_script }}" STREQUAL "x")
execute_process(
@@ -227,6 +228,10 @@ jobs:
endif()
endforeach()
+ if("${{ runner.os }}" STREQUAL "macOS")
+ set(architecture_config "--add-config=-DCMAKE_OSX_ARCHITECTURES=x86_64\;arm64")
+ endif()
+
execute_process(
COMMAND python
-u
@@ -237,6 +242,7 @@ jobs:
--qt-path "${{ steps.qt.outputs.qt_dir }}"
--qtc-path "${{ steps.qt_creator.outputs.qtc_dir }}"
--output-path "$ENV{GITHUB_WORKSPACE}"
+ ${architecture_config}
RESULT_VARIABLE result
)
if (NOT result EQUAL 0)