From 02e2598056d83c32f17417d9e269178e483aaab7 Mon Sep 17 00:00:00 2001 From: Matthieu Gautier Date: Thu, 27 Apr 2023 19:02:52 +0200 Subject: [PATCH] Build zim-tools and kiwix-tools and macosOs_arm64. --- .github/scripts/build_projects.py | 8 ++++++-- .github/workflows/releaseNigthly.yml | 1 + 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/scripts/build_projects.py b/.github/scripts/build_projects.py index e8f5b3d..4b4c028 100755 --- a/.github/scripts/build_projects.py +++ b/.github/scripts/build_projects.py @@ -22,9 +22,13 @@ def select_build_target(): 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")): + or PLATFORM_TARGET.startswith("iOS")): return ("libzim", "libkiwix") + elif PLATFORM_TARGET.startswith("macOS"): + if PLATFORM_TARGET.endswith("_mixed"): + return ("libzim", "libkiwix") + else: + return ("zim-tools", "kiwix-tools") elif PLATFORM_TARGET.startswith("native_"): if OS_NAME == "osx": if PLATFORM_TARGET.endswith("_mixed"): diff --git a/.github/workflows/releaseNigthly.yml b/.github/workflows/releaseNigthly.yml index ae974d6..bce3bde 100644 --- a/.github/workflows/releaseNigthly.yml +++ b/.github/workflows/releaseNigthly.yml @@ -177,6 +177,7 @@ jobs: - native_dyn - native_static - native_mixed + - macOS_arm64_static - macOS_arm64_mixed runs-on: macos-12 env: