mirror of
https://github.com/kiwix/kiwix-build.git
synced 2025-06-26 10:11:27 +00:00
Addapt CI to build armhf and aarch64.
- Aarch64 added - libzim compilation on (armhf|aarch64)_mixed added.
This commit is contained in:
4
.github/scripts/build_projects.py
vendored
4
.github/scripts/build_projects.py
vendored
@ -30,11 +30,11 @@ elif PLATFORM_TARGET.startswith("native_"):
|
||||
TARGETS = ("libzim", "libkiwix")
|
||||
else:
|
||||
TARGETS = ("zim-tools", "kiwix-tools")
|
||||
elif PLATFORM_TARGET in ("win32_static", "armhf_static", "armhf_dyn", "i586_static"):
|
||||
elif PLATFORM_TARGET in ("win32_static", "armhf_static", "armhf_dyn", "aarch64_static", "aarch64_dyn", "i586_static"):
|
||||
TARGETS = ("kiwix-tools",)
|
||||
elif PLATFORM_TARGET == "flatpak":
|
||||
TARGETS = ("kiwix-desktop",)
|
||||
elif PLATFORM_TARGET == "wasm":
|
||||
elif PLATFORM_TARGET in ("wasm", "armhf_mixed", "aarch64_mixed"):
|
||||
TARGETS = ("libzim", )
|
||||
else:
|
||||
TARGETS = ("libzim", "zim-tools", "libkiwix", "kiwix-tools")
|
||||
|
2
.github/scripts/build_release_nightly.py
vendored
2
.github/scripts/build_release_nightly.py
vendored
@ -41,7 +41,7 @@ elif PLATFORM_TARGET in ("win32_static", "armhf_static", "i586_static"):
|
||||
TARGETS = ("kiwix-tools",)
|
||||
elif PLATFORM_TARGET == "flatpak":
|
||||
TARGETS = ("kiwix-desktop",)
|
||||
elif PLATFORM_TARGET == "wasm":
|
||||
elif PLATFORM_TARGET in ("wasm", "armhf_mixed", "aarch64_mixed"):
|
||||
TARGETS = ("libzim", )
|
||||
else:
|
||||
TARGETS = ("libzim", "zim-tools", "libkiwix", "kiwix-tools")
|
||||
|
3
.github/scripts/common.py
vendored
3
.github/scripts/common.py
vendored
@ -51,6 +51,9 @@ PLATFORM_TO_RELEASE = {
|
||||
"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),
|
||||
"i586_static": "{os}-i586".format(os=RELEASE_OS_NAME),
|
||||
"android_arm": "android-arm",
|
||||
"android_arm64": "android-arm64",
|
||||
|
Reference in New Issue
Block a user