mirror of
https://github.com/kiwix/kiwix-build.git
synced 2025-06-26 10:11:27 +00:00
Add build of libzim on wasm in the CI
This commit is contained in:
2
.github/scripts/build_projects.py
vendored
2
.github/scripts/build_projects.py
vendored
@ -32,6 +32,8 @@ elif PLATFORM_TARGET in ("win32_static", "armhf_static", "armhf_dyn", "i586_stat
|
||||
TARGETS = ("kiwix-tools",)
|
||||
elif PLATFORM_TARGET == "flatpak":
|
||||
TARGETS = ("kiwix-desktop",)
|
||||
elif PLATFORM_TARGET == "wasm":
|
||||
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
@ -38,6 +38,8 @@ elif PLATFORM_TARGET in ("win32_static", "armhf_static", "i586_static"):
|
||||
TARGETS = ("kiwix-tools",)
|
||||
elif PLATFORM_TARGET == "flatpak":
|
||||
TARGETS = ("kiwix-desktop",)
|
||||
elif PLATFORM_TARGET == "wasm":
|
||||
TARGETS = ("libzim", )
|
||||
else:
|
||||
TARGETS = ("libzim", "zim-tools", "libkiwix", "kiwix-tools")
|
||||
|
||||
|
1
.github/scripts/common.py
vendored
1
.github/scripts/common.py
vendored
@ -51,6 +51,7 @@ PLATFORM_TO_RELEASE = {
|
||||
"android_arm64": "android-arm64",
|
||||
"android_x86": "android-x86",
|
||||
"android_x86_64": "android-x86_64",
|
||||
"wasm": "wasm-emscripten",
|
||||
}
|
||||
|
||||
LIB_PREFIX = {
|
||||
|
2
.github/scripts/compile_all_deps.py
vendored
2
.github/scripts/compile_all_deps.py
vendored
@ -14,6 +14,8 @@ from common import (
|
||||
|
||||
if PLATFORM_TARGET.startswith("android_") or PLATFORM_TARGET.startswith("iOS"):
|
||||
TARGETS = ("libzim", "libkiwix")
|
||||
elif PLATFORM_TARGET == "wasm":
|
||||
TARGETS = ("libzim", )
|
||||
elif PLATFORM_TARGET.startswith("native_"):
|
||||
if OS_NAME == "osx":
|
||||
TARGETS = ("libzim", "zim-tools", "libkiwix")
|
||||
|
Reference in New Issue
Block a user