Compare commits

...

15 Commits
r_76 ... main

Author SHA1 Message Date
Kelson 2f37d80111
Merge pull request #819 from kiwix/release-zim-tools-3.6.0
Relase zim-tools 3.6.0
2025-04-17 23:37:20 +02:00
Emmanuel Engelhart 971971a60f
Relase zim-tools 3.6.0 2025-04-17 22:36:18 +02:00
Kelson f58795bd1e
Merge pull request #818 from kiwix/qt_installed_only_if_necessary
QT is installed only in a windows native_mixed job
2025-04-17 20:53:00 +02:00
Veloman Yunkan fcc6798187 QT is installed only in a windows native_mixed job
kiwix-desktop is built under Windows only in native_mixed config and QT
is not required for anything else. Therefore it doesn't make sense to
run QT installation in Windows native_dyn and native_static CI/CD jobs.
That will reduce the risk of those jobs failing because of problems with
QT mirrors.
2025-04-17 19:18:10 +02:00
Veloman Yunkan 9c5e1966a0
Merge pull request #817 from kiwix/workaround_for_download.qt.io_outage
Workaround for download.qt.io outage
2025-04-17 20:32:02 +04:00
Veloman Yunkan f13cd4264a Updated .github/configs/aqt.ini
- Made https://qt.mirror.constant.com/ the default QT download URL.

- Added https://qt.mirror.constant.com/ and https://ftp.fau.de/qtproject/
  to the list of trusted mirrors (used for obtaining package hashes)

- Deleted the kde_patches section (we don't build QT from source)
2025-04-17 17:43:10 +02:00
Veloman Yunkan efd995acbf Copied aqtinstall default config into our repo
Copied settings.ini of aqtinstall==3.1.21 python package (the version of
aqtinstall used by the jurplel/install-qt-action@v4 action as of today)
as .github/configs/aqt.ini and made the QT installation step use that
config. The cloned config file is going to be modified in the next commit.
2025-04-17 17:20:02 +02:00
Kelson 43c4add1fc
Merge pull request #815 from kiwix/build-libzim-9.3.0
Build libzim 9.3.0
2025-04-17 11:28:33 +02:00
Emmanuel Engelhart e4a8ac215c
Build libzim 9.3.0 2025-04-17 11:27:51 +02:00
Kelson 4d65a50db4
Merge pull request #814 from kiwix/zim-testing-suite_update
Update zim-testing-suite to 0.8.0
2025-04-17 10:50:49 +02:00
Veloman Yunkan 4071762b9a Update zim-testing-suite to 0.8.0 2025-04-17 10:03:07 +02:00
Kelson 77592b12ff
Merge pull request #813 from kiwix/commented-out-ninja-install-macos
Comment-out ninja install for macOS
2025-04-16 12:43:22 +02:00
Emmanuel Engelhart e67295a3d0 Comment-out ninja install for macOS 2025-04-16 12:09:16 +02:00
Kelson 8780b994a3
Merge pull request #811 from kiwix/no-double-native-archives
Dont publish built dependencies on jammy to prevent double archives
2025-04-16 10:04:49 +02:00
rgaudin f888c87459
Issue #770: Dont publish built dependencies on jammy to prevent double archives
Currently, both jammy and focal publish the native_dyn versions of dependencies
for libzim and libkiwix.
This creates concurrent upload issues.
This removes this step for jammy so it gets uploaded only once.
2025-04-16 09:26:02 +02:00
6 changed files with 64 additions and 12 deletions

46
.github/configs/aqt.ini vendored Normal file
View File

@ -0,0 +1,46 @@
[DEFAULTS]
[aqt]
concurrency: 4
baseurl: https://qt.mirror.constant.com/
7zcmd: 7z
print_stacktrace_on_error: False
always_keep_archives: False
archive_download_location: .
min_module_size: 41
[requests]
connection_timeout: 3.5
response_timeout: 30
max_retries_on_connection_error: 5
retry_backoff: 0.1
max_retries_on_checksum_error: 5
max_retries_to_retrieve_hash: 5
hash_algorithm: sha256
INSECURE_NOT_FOR_PRODUCTION_ignore_hash: False
[mirrors]
trusted_mirrors:
https://download.qt.io
https://qt.mirror.constant.com/
https://ftp.fau.de/qtproject/
blacklist:
http://mirrors.ocf.berkeley.edu
http://mirrors.tuna.tsinghua.edu.cn
http://mirrors.geekpie.club
fallbacks:
https://qtproject.mirror.liquidtelecom.com/
https://mirrors.aliyun.com/qt/
https://mirrors.ustc.edu.cn/qtproject/
https://ftp.jaist.ac.jp/pub/qtproject/
https://ftp.yz.yamagata-u.ac.jp/pub/qtproject/
https://qt-mirror.dannhauer.de/
https://ftp.fau.de/qtproject/
https://mirror.netcologne.de/qtproject/
https://mirrors.dotsrc.org/qtproject/
https://www.nic.funet.fi/pub/mirrors/download.qt-project.org/
https://master.qt.io/
https://mirrors.ukfast.co.uk/sites/qt.io/
https://ftp2.nluug.nl/languages/qt/
https://ftp1.nluug.nl/languages/qt/
https://qt.mirror.constant.com/

View File

@ -42,7 +42,7 @@ BUILD_DEF = """
| focal | native_static | d | d | dBPSD | dBPSD | | linux-x86_64 | linux-x86_64-static | | focal | native_static | d | d | dBPSD | dBPSD | | linux-x86_64 | linux-x86_64-static |
| focal | native_mixed | BPS | BPS | | | | linux-x86_64 | | | focal | native_mixed | BPS | BPS | | | | linux-x86_64 | |
| focal | native_dyn | d | d | dB | dB | | | linux-x86_64-dyn | | focal | native_dyn | d | d | dB | dB | | | linux-x86_64-dyn |
| jammy | native_dyn | d | d | | | dBPS | | linux-x86_64-dyn | | jammy | native_dyn | | | | | dBPS | | linux-x86_64-dyn |
# libzim CI is building alpine_dyn but not us # libzim CI is building alpine_dyn but not us
| focal | android_arm | dBP | dBP | | | | android-arm | android-arm | | focal | android_arm | dBP | dBP | | | | android-arm | android-arm |
| focal | android_arm64 | dBP | dBP | | | | android-arm64 | android-arm64 | | focal | android_arm64 | dBP | dBP | | | | android-arm64 | android-arm64 |

View File

@ -37,11 +37,14 @@ jobs:
pip3 install meson pytest requests distro paramiko pip3 install meson pytest requests distro paramiko
pip3 install --no-deps $GITHUB_WORKSPACE pip3 install --no-deps $GITHUB_WORKSPACE
- name: Install QT - name: Install QT
if: ${{ matrix.config == 'native_mixed' }}
uses: jurplel/install-qt-action@v4 uses: jurplel/install-qt-action@v4
with: with:
version: 5.15.2 version: 5.15.2
modules: "qtwebengine" modules: "qtwebengine"
setup-python: false setup-python: false
env:
AQT_CONFIG: ${{ github.workspace }}/.github/configs/aqt.ini
- name: Setup MSVC compiler - name: Setup MSVC compiler
uses: bus1/cabuild/action/msdevshell@v1 uses: bus1/cabuild/action/msdevshell@v1
with: with:
@ -251,7 +254,7 @@ jobs:
python-version: '3.10' python-version: '3.10'
- name: Install packages - name: Install packages
run: run:
brew install ninja automake brew install automake # ninja
- name: Install python modules - name: Install python modules
run: | run: |
pip3 install meson pytest requests distro pip3 install meson pytest requests distro

View File

@ -35,11 +35,14 @@ jobs:
pip3 install meson pytest requests distro paramiko pip3 install meson pytest requests distro paramiko
pip3 install --no-deps $GITHUB_WORKSPACE pip3 install --no-deps $GITHUB_WORKSPACE
- name: Install QT - name: Install QT
if: ${{ matrix.config == 'native_mixed' }}
uses: jurplel/install-qt-action@v4 uses: jurplel/install-qt-action@v4
with: with:
version: 6.4.3 version: 6.4.3
modules: "qtwebengine qtwebchannel qtpositioning" modules: "qtwebengine qtwebchannel qtpositioning"
setup-python: false setup-python: false
env:
AQT_CONFIG: ${{ github.workspace }}/.github/configs/aqt.ini
- name: Setup MSVC compiler - name: Setup MSVC compiler
uses: bus1/cabuild/action/msdevshell@v1 uses: bus1/cabuild/action/msdevshell@v1
with: with:
@ -239,7 +242,7 @@ jobs:
python-version: '3.10' python-version: '3.10'
- name: Install packages - name: Install packages
run: run:
brew install ninja automake brew install automake # ninja
- name: Install python modules - name: Install python modules
run: | run: |
pip3 install meson pytest requests distro paramiko pip3 install meson pytest requests distro paramiko

View File

@ -9,9 +9,9 @@ class ZimTestingSuite(Dependency):
class Source(ReleaseDownload): class Source(ReleaseDownload):
archive = Remotefile( archive = Remotefile(
"zim-testing-suite-0.7.0.tar.gz", "zim-testing-suite-0.8.0.tar.gz",
"b2da1d96973c9dfd8857f96850b40755a52813189ee961881bbddcd1e28aace4", "28f51449a3f9aea02652ca21f32c5598fd610d6cec3810fa552bd0c0f7a2d5fc",
"https://github.com/openzim/zim-testing-suite/releases/download/0.7.0/zim-testing-suite-0.7.0.tar.gz", "https://github.com/openzim/zim-testing-suite/releases/download/0.8.0/zim-testing-suite-0.8.0.tar.gz",
) )
Builder = NoopBuilder Builder = NoopBuilder

View File

@ -1,10 +1,10 @@
# This file reference all the versions of the depedencies we use in kiwix-build. # This file reference all the versions of the depedencies we use in kiwix-build.
main_project_versions = { main_project_versions = {
"libzim": "9.2.3", "libzim": "9.3.0",
"libkiwix": "14.0.0", "libkiwix": "14.0.0",
"kiwix-tools": "3.7.0", "kiwix-tools": "3.7.0",
"zim-tools": "3.5.0", "zim-tools": "3.6.0",
"kiwix-desktop": "2.4.1", "kiwix-desktop": "2.4.1",
} }
@ -23,11 +23,11 @@ main_project_versions = {
# - Else, increment the value. If no value was present, see `(was ...)`. # - Else, increment the value. If no value was present, see `(was ...)`.
release_versions = { release_versions = {
"libzim": None, # Depends of base deps (was 2) "libzim": 1, # Depends of base deps (was 0)
"libkiwix": None, # Depends of libzim (was 1) "libkiwix": None, # Depends of libzim (was 1)
"kiwix-tools": None, # Depends of libkiwix and libzim (was 2) "kiwix-tools": None, # Depends of libkiwix and libzim (was 2)
"zim-tools": None, # Depends of libzim (was 0) "zim-tools": 0, # Depends of libzim (was None)
"kiwix-desktop": 0, # Depends of libkiwix and libzim (was 0) "kiwix-desktop": None, # Depends of libkiwix and libzim (was 0)
} }
@ -52,6 +52,6 @@ base_deps_versions = {
"android-ndk": "r21e", "android-ndk": "r21e",
"org.kde": "6.7", "org.kde": "6.7",
"io.qt.qtwebengine": "6.7", "io.qt.qtwebengine": "6.7",
"zim-testing-suite": "0.7.0", "zim-testing-suite": "0.8.0",
"emsdk": "3.1.41", "emsdk": "3.1.41",
} }