Commit Graph

1588 Commits

Author SHA1 Message Date
Emmanuel Engelhart 4b33546b77
Update actions relying on old Node.js16 2024-05-02 11:35:59 +02:00
Matthieu Gautier 8041938350
Merge pull request #692 from kiwix/libzim_9.2.0 2024-04-16 19:43:58 +02:00
Matthieu Gautier 6aa661a474 New libzim version 9.2.0 2024-04-16 18:28:32 +02:00
Matthieu Gautier a2cb517edb
Merge pull request #689 from kiwix/ci-apple-silicon 2024-04-12 13:13:36 +02:00
Matthieu Gautier 89802f5e07 Publish deps archive on macos arm64 using mixed config. 2024-04-12 11:54:38 +02:00
Matthieu Gautier a0baee815f Update to python 3.10 2024-04-12 11:52:49 +02:00
Matthieu Gautier 145d981328
Merge pull request #688 from kiwix/fix_build_dir 2024-04-12 10:28:50 +02:00
Matthieu Gautier 9235f8b048 Do not expect a full working environment when only asking for build dir.
Job `Trigger_Docker` is run in a simple environment not configured.
So tools as `ninja` are not installed. But we don't care as we just want
to trigger a docker build.
But `common` script now start by asking kiwix-build the build dir.
kiwix-build must not fail in this case.
2024-04-11 17:05:45 +02:00
Matthieu Gautier d6285adaf9
Merge pull request #685 from kiwix/build_dir 2024-04-09 11:33:30 +02:00
Matthieu Gautier a93b3c8896 Remove the `2` in base_deps name 2024-04-08 16:53:17 +02:00
Matthieu Gautier 0d27cbd8cf Update github's action to download the right deps archive. 2024-04-08 16:50:10 +02:00
Matthieu Gautier b880da6ca2 native_static is compatible with Darwin 2024-04-08 16:50:10 +02:00
Matthieu Gautier 6fbe60386e Do not pollute stdout with warning and trace. 2024-04-08 16:50:10 +02:00
Matthieu Gautier afda1f6673 Make CI common script use the correct build dir.
- Add an option to kiwix-build to get it.
2024-04-08 16:50:10 +02:00
Matthieu Gautier 0c0eac69c4 Introduce arch_name to name build dir base on arch name instead of config. 2024-04-08 16:50:03 +02:00
Matthieu Gautier 734c1ea6fc Update base_deps_version 2024-04-08 16:50:03 +02:00
Matthieu Gautier f0b214681c Properly escape char in `progress_chars` 2024-04-08 16:50:03 +02:00
Matthieu Gautier f42999199a `pj` now normalize path. 2024-04-08 16:50:03 +02:00
Matthieu Gautier 944eedcf56 Publish deps archive name using declared `dependency_name`.
Instead of compose it from `OS_NAME`, `COMPILE_CONFIG`.
2024-04-08 14:48:56 +02:00
Matthieu Gautier c6936ebc72 Introduce new dependency_name in build_definition 2024-04-08 14:48:56 +02:00
Matthieu Gautier 696242a0b1 Introduce helper `get_column_name()` 2024-03-25 15:40:16 +01:00
Kelson 6501464f76
Merge pull request #684 from kiwix/release-kiwix-tools-3.7.0
Release Kiwix Tools 3.7.0
2024-03-13 15:56:09 +01:00
Emmanuel Engelhart b8e499e81f
Release Kiwix Tools 3.7.0 2024-03-13 15:26:40 +01:00
Kelson cf5c2d35f1
Merge pull request #682 from kiwix/release-libkiwix-13.1.0
Release libkiwix 13.1.0
2024-02-25 16:01:51 +01:00
Emmanuel Engelhart 06512650fa
Release libkiwix 13.1.0 2024-02-25 15:17:43 +01:00
Matthieu Gautier 3ff2fe7be0
Merge pull request #681 from kiwix/zim-testing-suite-v5 2024-02-24 11:04:17 +01:00
Matthieu Gautier 0f82aff3c1 New version 0.5 for zim-testing-suite 2024-02-23 17:06:32 +01:00
Matthieu Gautier 4766ae5b56
Merge pull request #679 from kiwix/target_config
Rename option `--target-platform` to `--config`
2024-02-08 17:58:52 +01:00
Matthieu Gautier d4acd108ca Bump base_deps_meta_version. 2024-02-08 16:12:13 +01:00
Matthieu Gautier c25a2e63e3 [CI/CD] Use config instead of target in the CI. 2024-02-05 18:03:12 +01:00
Matthieu Gautier c0ec9c44b8 Rename option `--target-platform` to `--config`
The target_platform option has always be wrongly named.
This is not the platform we are targeted but how we compile.

This was ok at beginning as specifying how we compile somehow define
for what we compile but this is not a one to one mapping.
2024-02-05 18:03:11 +01:00
Matthieu Gautier 6dfb0da943 Cleanup README about libkiwix-app. 2024-02-05 18:02:30 +01:00
Matthieu Gautier 20ca39145d Remove `backend` (internal) option.
This is not used and it is a good things as it is broken..
2024-02-05 11:42:04 +01:00
Matthieu Gautier 5a1175cf2d Format our code with black 2024-02-05 11:41:09 +01:00
Matthieu Gautier 939f323709
Merge pull request #675 from kiwix/appveyor_update
Last appveyor platform version doesn't have python 3.6
2024-01-08 17:41:34 +01:00
Matthieu Gautier fa6fcb1c9f Last appveyor platform version doesn't have python 3.6 2024-01-08 16:29:29 +01:00
Kelson c91db165ba
Merge pull request #674 from kiwix/zim-tools-3.4.0
Release zim-tools 3.4.0
2023-12-31 16:41:13 +01:00
Emmanuel Engelhart aeaee8e075
Release zim-tools 3.4.0 2023-12-31 16:34:20 +01:00
Matthieu Gautier e000eddfd7
Merge pull request #669 from kiwix/download_deps_action
Download deps action
2023-12-19 13:49:06 +01:00
Matthieu Gautier 0aa09ca7c5 Remove `a` flag 2023-12-19 11:56:46 +01:00
Matthieu Gautier 0886129cab Correctly import path 2023-12-19 11:56:31 +01:00
Matthieu Gautier 4078003c98 Add path dependency. 2023-12-19 11:54:49 +01:00
Matthieu Gautier b97bd8e4ed New github's action to download dependencies archive.
To be used by other projects instead of the small bash script we currently have.
2023-12-19 11:54:46 +01:00
Kelson 2f39aedfa6
Merge pull request #672 from kiwix/libzim-9.1.0
Release libzim 9.1.0
2023-12-16 11:58:18 +01:00
Emmanuel Engelhart 817c46a529
Release libzim 9.1.0 2023-12-16 11:23:27 +01:00
Kelson 455cd2e181
Merge pull request #670 from kiwix/libkiwix-13.0.0-1
New build #1 of libkiwix-13.0.0
2023-12-08 14:10:13 +01:00
Emmanuel Engelhart 7f4dea0b89
New build #1 of libkiwix-13.0.0 2023-12-08 14:09:33 +01:00
Matthieu Gautier 6695af6014
Merge pull request #668 from kiwix/667-xcf
CoreKiwix for iOS Simulator
2023-12-05 11:09:09 +01:00
renaud gaudin 8c5bca05b7
Updated CI and builddef for renamed platform ; including new arm64 simulator 2023-12-05 07:04:53 +00:00
renaud gaudin afb7c504ea
Fixed #667: CoreKiwix for iOS Simulator
When we introduced CoreKiwix.xcframework, we made two mistakes:

- We forgot that some devs are on Apple Silicon and did not include arm64 arch for simulator
- We kept the `x86_64-apple-ios` target thinking simulator is a “just” an iOS on x64

This target mistake prevented XCode from finding our lib usable with the Simulator on x64.
Not including an arm64 version obviously prevented Silicon-using devs from using the Simulator.

The included libs changes now from

| Name                         | Content                                               |
| ---------------------------- | ----------------------------------------------------- |
| `ios-arm64`                  | All iOS devices are arm64                             |
| `ios-x86_64-simulator`       | Single x64 binary for Simulator                       |
| `macos-arm64_x86_64`         | Fat binary for macOS with both x64 and arm64          |

To

| Name                         | Content                                               |
| ---------------------------- | ----------------------------------------------------- |
| `ios-arm64`                  | All iOS devices are arm64                             |
| `ios-arm64_x86_64-simulator` | Fsat binary for iOS Simulator with both x64 and arm64 |
| `macos-arm64_x86_64`         | Fat binary for macOS with both x64 and arm64          |

- `iOSx64` Platforn renamed to `iOSx64Simulator` with its target fixed to `x86-apple-ios-simulator` (was `x86_64-apple-ios`)
- Added platformn `iOSArm64Simulator` for Apple Silicon devs to run Simulator
- `AppleXCFramework` dependency gets two changes:
    - Depends on all those platforms
    - `_make_macos_fat()` turned generic and called both for macOS fat binary and iOS Simulator one
2023-12-04 14:20:24 +00:00