Build and publish libzim and libkiwix on macos_arm64.
This commit is contained in:
parent
de25a1e63b
commit
b4e0d60363
|
@ -19,7 +19,7 @@ if (PLATFORM_TARGET.startswith("android_")
|
||||||
TARGETS = ("libzim", "libkiwix")
|
TARGETS = ("libzim", "libkiwix")
|
||||||
elif PLATFORM_TARGET.startswith("native_"):
|
elif PLATFORM_TARGET.startswith("native_"):
|
||||||
if OS_NAME == "osx":
|
if OS_NAME == "osx":
|
||||||
if PLATFORM_TARGET == "native_mixed":
|
if PLATFORM_TARGET.endswith("_mixed"):
|
||||||
TARGETS = ("libzim", "libkiwix")
|
TARGETS = ("libzim", "libkiwix")
|
||||||
else:
|
else:
|
||||||
TARGETS = ("zim-tools", )
|
TARGETS = ("zim-tools", )
|
||||||
|
|
|
@ -26,7 +26,7 @@ if PLATFORM_TARGET.startswith("android_") or PLATFORM_TARGET.startswith("iOS"):
|
||||||
TARGETS = ("libzim", "libkiwix")
|
TARGETS = ("libzim", "libkiwix")
|
||||||
elif PLATFORM_TARGET.startswith("native_"):
|
elif PLATFORM_TARGET.startswith("native_"):
|
||||||
if OS_NAME == "osx":
|
if OS_NAME == "osx":
|
||||||
if PLATFORM_TARGET == "native_mixed":
|
if PLATFORM_TARGET.endswith("_mixed"):
|
||||||
TARGETS = ("libzim", "libkiwix")
|
TARGETS = ("libzim", "libkiwix")
|
||||||
else:
|
else:
|
||||||
TARGETS = ("zim-tools", )
|
TARGETS = ("zim-tools", )
|
||||||
|
@ -57,7 +57,7 @@ for target in TARGETS:
|
||||||
if target == "kiwix-desktop":
|
if target == "kiwix-desktop":
|
||||||
archive = create_desktop_image(make_release=MAKE_RELEASE)
|
archive = create_desktop_image(make_release=MAKE_RELEASE)
|
||||||
else:
|
else:
|
||||||
if PLATFORM_TARGET == "native_mixed" and OS_NAME == "osx":
|
if OS_NAME == "osx" and PLATFORM_TARGET.endswith("_mixed"):
|
||||||
fix_macos_rpath(target)
|
fix_macos_rpath(target)
|
||||||
notarize_macos_build(target)
|
notarize_macos_build(target)
|
||||||
archive = make_archive(target, make_release=MAKE_RELEASE)
|
archive = make_archive(target, make_release=MAKE_RELEASE)
|
||||||
|
|
|
@ -141,6 +141,7 @@ jobs:
|
||||||
- iOS_x86_64
|
- iOS_x86_64
|
||||||
- iOS_Mac_ABI
|
- iOS_Mac_ABI
|
||||||
- macOS_arm64
|
- macOS_arm64
|
||||||
|
- macOS_arm64_mixed
|
||||||
- macOS_x86_64
|
- macOS_x86_64
|
||||||
runs-on: macos-latest
|
runs-on: macos-latest
|
||||||
env:
|
env:
|
||||||
|
|
|
@ -170,6 +170,7 @@ jobs:
|
||||||
target:
|
target:
|
||||||
- native_dyn
|
- native_dyn
|
||||||
- native_mixed
|
- native_mixed
|
||||||
|
- macOs_arm64_mixed
|
||||||
runs-on: macos-12
|
runs-on: macos-12
|
||||||
env:
|
env:
|
||||||
SSH_KEY: /tmp/id_rsa
|
SSH_KEY: /tmp/id_rsa
|
||||||
|
|
Loading…
Reference in New Issue