Skip to content
Snippets Groups Projects
Verified Commit 1fa21af3 authored by Joe Donofry's avatar Joe Donofry
Browse files

Move OSX deployment target to toolchain file for hunter; add codesign debug

parent 5244952b
No related branches found
No related tags found
1 merge request!22Cirrus ci apple silicon
Pipeline #3851 failed
......@@ -19,8 +19,7 @@ cmake -GNinja -S. -Bbuild \
-DHUNTER_ENABLED=ON -DBUILD_SHARED_LIBS=OFF \
-DCMAKE_BUILD_TYPE=RelWithDebInfo -DHUNTER_CONFIGURATION_TYPES=RelWithDebInfo \
-DUSE_BUNDLED_OPENSSL=ON \
-DCI_BUILD=ON \
-DCMAKE_OSX_DEPLOYMENT_TARGET=10.15
-DCI_BUILD=ON
cmake --build build
( cd build || exit
git clone https://github.com/Nheko-Reborn/qt-jdenticon.git
......
......@@ -41,6 +41,7 @@ find "build/nheko.app/Contents"|while read -r fname; do
done
codesign --force --timestamp --options=runtime --sign "${APPLE_DEV_IDENTITY}" "build/nheko.app"
codesign -vvv --deep --strict "build/nheko.app"
NOTARIZE_SUBMIT_LOG=$(mktemp /tmp/notarize-submit.XXXXXX)
NOTARIZE_STATUS_LOG=$(mktemp /tmp/notarize-status.XXXXXX)
......@@ -52,6 +53,8 @@ trap finish EXIT
dmgbuild -s .ci/macos/settings.json "Nheko" nheko.dmg
codesign -s "${APPLE_DEV_IDENTITY}" nheko.dmg
codesign -vvv --deep --strict nheko.dmg
user=$(id -nu)
chown "${user}" nheko.dmg
......
set(CMAKE_CXX_STANDARD 20)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
set(CMAKE_POSITION_INDEPENDENT_CODE ON)
set(CMAKE_OSX_DEPLOYMENT_TARGET 10.15)
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment