From 8f8ea01aec919c9f7af06308720cd80b00696d92 Mon Sep 17 00:00:00 2001 From: Matthieu Gautier Date: Fri, 28 Apr 2023 08:59:14 +0200 Subject: [PATCH] Do not build binaries on macOS not _dyn. Tools fails to compile for different reasons: - Missing dependencies - Use of invalid options (`-dead_strip_dylibs`/`-bitcode_bundle`) --- .github/scripts/build_projects.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/scripts/build_projects.py b/.github/scripts/build_projects.py index 4b4c028..3db1048 100755 --- a/.github/scripts/build_projects.py +++ b/.github/scripts/build_projects.py @@ -27,8 +27,10 @@ def select_build_target(): elif PLATFORM_TARGET.startswith("macOS"): if PLATFORM_TARGET.endswith("_mixed"): return ("libzim", "libkiwix") - else: + elif PLATFORM_TARGET.endswith("_dyn"): return ("zim-tools", "kiwix-tools") + else: + return [] elif PLATFORM_TARGET.startswith("native_"): if OS_NAME == "osx": if PLATFORM_TARGET.endswith("_mixed"):