Also build libzim mixed for aarch64 on bionic.
This commit is contained in:
parent
fffbd122c9
commit
fc3b446c76
|
@ -19,15 +19,14 @@ def select_build_target():
|
|||
DESKTOP,
|
||||
OS_NAME
|
||||
)
|
||||
if (PLATFORM_TARGET.startswith("android_")
|
||||
if OS_NAME == "bionic" and PLATFORM_TARGET.endswith("_mixed"):
|
||||
return ("libzim", )
|
||||
elif (PLATFORM_TARGET.startswith("android_")
|
||||
or PLATFORM_TARGET.startswith("iOS")
|
||||
or PLATFORM_TARGET.startswith("macOS")):
|
||||
return ("libzim", "libkiwix")
|
||||
elif PLATFORM_TARGET.startswith("native_"):
|
||||
if OS_NAME == "bionic":
|
||||
# PLATFORM_TARGET should always be "native_mixed" from CI jobs
|
||||
return ("libzim", )
|
||||
elif OS_NAME == "osx":
|
||||
if OS_NAME == "osx":
|
||||
if PLATFORM_TARGET.endswith("_mixed"):
|
||||
return ("libzim", "libkiwix")
|
||||
else:
|
||||
|
|
|
@ -45,15 +45,16 @@ else:
|
|||
DEV_BRANCH = None
|
||||
|
||||
RELEASE_OS_NAME = "macos" if OS_NAME == "osx" else "linux"
|
||||
EXTRA_NAME = "-bionic" if OS_NAME == "bionic" else ""
|
||||
|
||||
PLATFORM_TO_RELEASE = {
|
||||
"native_mixed": "{os}-x86_64{extra}".format(os=RELEASE_OS_NAME, extra = "-bionic" if OS_NAME == "bionic" else ""),
|
||||
"native_mixed": "{os}-x86_64{extra}".format(os=RELEASE_OS_NAME, extra=EXTRA_NAME),
|
||||
"native_static": "{os}-x86_64".format(os=RELEASE_OS_NAME),
|
||||
"win32_static": "win-i686",
|
||||
"armhf_static": "{os}-armhf".format(os=RELEASE_OS_NAME),
|
||||
"armhf_mixed": "{os}-armhf".format(os=RELEASE_OS_NAME),
|
||||
"aarch64_static": "{os}-aarch64".format(os=RELEASE_OS_NAME),
|
||||
"aarch64_mixed": "{os}-aarch64".format(os=RELEASE_OS_NAME),
|
||||
"aarch64_mixed": "{os}-aarch64{extra}".format(os=RELEASE_OS_NAME, extra=EXTRA_NAME),
|
||||
"i586_static": "{os}-i586".format(os=RELEASE_OS_NAME),
|
||||
"macOS_arm64_static": "{os}-arm64".format(os=RELEASE_OS_NAME),
|
||||
"macOS_arm64_mixed": "{os}-arm64".format(os=RELEASE_OS_NAME),
|
||||
|
|
|
@ -34,6 +34,9 @@ jobs:
|
|||
- target: native_mixed
|
||||
image_variant: bionic
|
||||
lib_postfix: '/x86_64-linux-gnu'
|
||||
- target: aarch64_mixed
|
||||
image_variant: bionic
|
||||
lib_postfix: '/aarch64-linux-gnu'
|
||||
- target: win32_static
|
||||
image_variant: f35
|
||||
lib_postfix: '64'
|
||||
|
|
|
@ -59,6 +59,9 @@ jobs:
|
|||
- target: aarch64_mixed
|
||||
image_variant: focal
|
||||
lib_postfix: '/x86_64-linux-gnu'
|
||||
- target: aarch64_mixed
|
||||
image_variant: bionic
|
||||
lib_postfix: '/aarch64-linux-gnu'
|
||||
- target: win32_static
|
||||
image_variant: f35
|
||||
lib_postfix: '64'
|
||||
|
|
Loading…
Reference in New Issue