summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorCristian Adam <cristian.adam@qt.io>2023-05-11 16:30:19 +0200
committerCristian Adam <cristian.adam@qt.io>2023-05-12 08:06:52 +0000
commit430f07cf383954312c4ee2908b0c344b207cab9e (patch)
treeba20ea253762eebf61a90cdd32eb1fa30265a3a2 /.github
parentb28df28660eb301024af2a029b880707e9753f9e (diff)
downloadqt-creator-430f07cf383954312c4ee2908b0c344b207cab9e.tar.gz
GitHub Actions: Use universal for macOS only for releases
For the regular checks we should be as fast as possible. Change-Id: If5b14f6ac48aebdefced137f74fc8ecdd72f741b Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/build_cmake.yml6
1 files changed, 5 insertions, 1 deletions
diff --git a/.github/workflows/build_cmake.yml b/.github/workflows/build_cmake.yml
index 8a623779f1..14f4a74751 100644
--- a/.github/workflows/build_cmake.yml
+++ b/.github/workflows/build_cmake.yml
@@ -577,7 +577,11 @@ jobs:
endif()
if ("${{ runner.os }}" STREQUAL "macOS")
- set(ENV{CMAKE_OSX_ARCHITECTURES} "x86_64;arm64")
+ if (${{github.ref}} MATCHES "tags/v(.*)")
+ set(ENV{CMAKE_OSX_ARCHITECTURES} "x86_64;arm64")
+ else()
+ set(ENV{CMAKE_OSX_ARCHITECTURES} "x86_64")
+ endif()
endif()
execute_process(