simplify macOS targets and try arm64 craft target
authorMatthieu Gallien <matthieu.gallien@nextcloud.com>
Fri, 26 Apr 2024 11:47:47 +0000 (13:47 +0200)
committerMatthieu Gallien <matthieu.gallien@nextcloud.com>
Wed, 15 May 2024 13:06:10 +0000 (15:06 +0200)
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
.github/workflows/macos-build-and-test.yml
craftmaster.ini

index c1f216a012b105bb9623ec80643a287ed97da531..5123be33b5bb5e300fa0bb1bddd2c6e24b18e280 100644 (file)
@@ -7,7 +7,7 @@ jobs:
     name: macOS Build and Test
     runs-on: macos-latest
     env:
-      CRAFT_TARGET: macos-64-clang
+      CRAFT_TARGET: macos-clang-arm64
       CRAFT_MASTER_LOCATION: ${{ github.workspace }}/CraftMaster
       CRAFT_MASTER_CONFIG: ${{ github.workspace }}/craftmaster.ini
     steps:
index 20d481eb957830dfc9d88d43969a714c9759a3bb..fbd083ba7e4a0005f606d85ea6d303a456782810 100644 (file)
@@ -17,10 +17,6 @@ CreateCache = False
 
 General/MacDeploymentTarget = 12.0
 
-## This is the location of your python installation.
-## This value must be set.
-Paths/Python = C:\Python312-x64
-
 Compile/BuildType = RelWithDebInfo
 
 Compile/UseNinja = True
@@ -49,25 +45,14 @@ binary/mysql.useMariaDB = False
 [windows-msvc2022_64-cl]
 QtSDK/Compiler = msvc2022_64
 General/ABI = windows-msvc2022_64-cl
-
-[windows-msvc2019_64-cl]
-QtSDK/Compiler = msvc2019_64
-General/ABI = windows-msvc2019_64-cl
+Paths/Python = C:\Python312-x64
 
 [macos-64-clang]
 General/ABI = macos-64-clang
-# Packager/PackageType = MacPkgPackager
-
-[macos-64-clang-debug]
-General/ABI = macos-64-clang
-Compile/BuildType = Debug
 
 [macos-clang-arm64]
 General/ABI = macos-clang-arm64
-
-[macos-clang-arm64-debug]
-General/ABI = macos-clang-arm64
-Compile/BuildType = Debug
+Paths/Python = /Users/runner/hostedtoolcache/Python/3.12.3/arm64
 
 [Env]
 CRAFT_CODESIGN_CERTIFICATE =