From 8e1c46d76662aa039257a06caf06bd8def85feb5 Mon Sep 17 00:00:00 2001 From: Matthieu Gautier Date: Wed, 29 May 2024 17:33:55 +0200 Subject: [PATCH] WIP Use windows branch on windows CI --- kiwixbuild/dependencies/libzim.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/kiwixbuild/dependencies/libzim.py b/kiwixbuild/dependencies/libzim.py index 318afa76..479623e6 100644 --- a/kiwixbuild/dependencies/libzim.py +++ b/kiwixbuild/dependencies/libzim.py @@ -10,6 +10,13 @@ class Source(GitClone): git_remote = "https://github.com/openzim/libzim.git" git_dir = "libzim" + @property + def git_ref(self): + if neutralEnv("distname") == "Windows": + return "windows" + else: + return "main" + class Builder(MesonBuilder): test_options = ["-t", "8"] strip_options = []