Mac: option for CI artifact naming

This commit is contained in:
Benitoite 2023-03-08 01:05:38 -08:00 committed by GitHub
parent 3fe30277bf
commit 38ab9af4fc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -87,6 +87,9 @@ option(OSX_DEV_BUILD "Generate macOS development builds" OFF)
# On macOS, optionally generate the final zip artifact file without version in the name for nightly upload purposes. # On macOS, optionally generate the final zip artifact file without version in the name for nightly upload purposes.
option(OSX_NIGHTLY "Generate a generically-named zip" OFF) option(OSX_NIGHTLY "Generate a generically-named zip" OFF)
# On macOS, optionally generate RawTherapee_<branch>_macOS_<buildtype>.zip for the CI
option(OSX_CONTINUOUS "Generate a generically-named zip for CI" OFF)
# Generate a universal macOS build # Generate a universal macOS build
option(OSX_UNIVERSAL "Generate a universal app" OFF) option(OSX_UNIVERSAL "Generate a universal app" OFF)
@ -94,14 +97,13 @@ option(OSX_UNIVERSAL "Generate a universal app" OFF)
if(OSX_UNIVERSAL) if(OSX_UNIVERSAL)
if(NOT "${OSX_UNIVERSAL_URL}") if(NOT "${OSX_UNIVERSAL_URL}")
if(CMAKE_OSX_ARCHITECTURES STREQUAL "arm64") if(CMAKE_OSX_ARCHITECTURES STREQUAL "arm64")
set(OSX_UNIVERSAL_URL "https://kd6kxr.keybase.pub/RawTherapee_macOS_x86_64_latest.zip" CACHE STRING "URL of x86_64 app for lipo") set(OSX_UNIVERSAL_URL "file:///rawtherapee/latest/RawTherapee_macOS_x86_64_latest.zip" CACHE STRING "URL of x86_64 app for lipo")
else() else()
set(OSX_UNIVERSAL_URL "https://kd6kxr.keybase.pub/RawTherapee_macOS_arm64_latest.zip" CACHE STRING "URL of arm64 app for lipo") set(OSX_UNIVERSAL_URL "file:///rawtherapee/latest/RawTherapee_macOS_arm64_latest.zip" CACHE STRING "URL of arm64 app for lipo")
endif() endif()
endif() endif()
endif() endif()
# By default we don't use a specific processor target, so PROC_TARGET_NUMBER is # By default we don't use a specific processor target, so PROC_TARGET_NUMBER is
# set to 0. Specify other values to optimize for specific processor architecture # set to 0. Specify other values to optimize for specific processor architecture
# as listed in ProcessorTargets.cmake: # as listed in ProcessorTargets.cmake: