Build zim-tools cross-compiling.

This commit is contained in:
Matthieu Gautier 2023-04-05 16:47:44 +02:00
parent 0b5eb668e7
commit ae3b1b6a25
5 changed files with 5 additions and 2 deletions

View File

@ -31,7 +31,7 @@ elif PLATFORM_TARGET.startswith("native_"):
else:
TARGETS = ("zim-tools", "kiwix-tools")
elif PLATFORM_TARGET in ("win32_static", "armhf_static", "armhf_dyn", "aarch64_static", "aarch64_dyn", "i586_static"):
TARGETS = ("kiwix-tools",)
TARGETS = ("zim-tools", "kiwix-tools")
elif PLATFORM_TARGET == "flatpak":
TARGETS = ("kiwix-desktop",)
elif PLATFORM_TARGET in ("wasm", "armhf_mixed", "aarch64_mixed"):

View File

@ -38,7 +38,7 @@ elif PLATFORM_TARGET.startswith("native_"):
else:
TARGETS = ("zim-tools", "kiwix-tools")
elif PLATFORM_TARGET in ("win32_static", "armhf_static", "aarch64_static", "i586_static"):
TARGETS = ("kiwix-tools",)
TARGETS = ("zim-tools", "kiwix-tools",)
elif PLATFORM_TARGET == "flatpak":
TARGETS = ("kiwix-desktop",)
elif PLATFORM_TARGET in ("wasm", "armhf_mixed", "aarch64_mixed"):

View File

@ -55,6 +55,7 @@ PLATFORM_TO_RELEASE = {
"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),
"macOS_arm64_static": "{os}-arm64".format(os=RELEASE_OS_NAME),
"macOS_arm64_mixed": "{os}-arm64".format(os=RELEASE_OS_NAME),
"android_arm": "android-arm",
"android_arm64": "android-arm64",

View File

@ -136,6 +136,7 @@ jobs:
matrix:
target:
- native_dyn
- native_static
- native_mixed
- iOS_arm64
- iOS_x86_64

View File

@ -169,6 +169,7 @@ jobs:
matrix:
target:
- native_dyn
- native_static
- native_mixed
- macOs_arm64_mixed
runs-on: macos-12