Commit Graph

1372 Commits

Author SHA1 Message Date
7b7afc36e7 Mixed platform are not static. 2023-03-31 10:51:11 +02:00
892e4bbffe [CI] Upload macOS_arm64_mixed builds. 2023-03-30 17:37:11 +02:00
260b93a51d Correctly set the include dirs for mixed_target.
Until now, mixed targets was only about native build and so we were not
using a meson cross_config file and env var was enough.

But now we also to correctly set it in the cross_config file.
2023-03-30 16:40:20 +02:00
b218875d49 Rename macOS_arm64 to macOS_arm64_static.
Publication code in `.github/scripts` expected that `foo_mixed` target
is tied to a `foo_static` target.
2023-03-30 14:18:53 +02:00
b4e0d60363 Build and publish libzim and libkiwix on macos_arm64. 2023-03-30 14:18:53 +02:00
de25a1e63b Add macOS_arm64_mixed platform. 2023-03-30 14:18:53 +02:00
52335fbd32 Merge pull request #580 from kiwix/arm_build 2023-03-30 14:16:55 +02:00
c1d0ed4e4f Correctly store the source toolchain for "aarch64" 2023-03-29 15:46:06 +02:00
695a3ef0c0 Correctly store the static compiled source when doing archive for mixed. 2023-03-29 15:46:06 +02:00
18c5d3bf5f Publish nigthly and release of kiwix-tools on aarch64 2023-03-29 11:40:04 +02:00
8e61acbca2 Addapt CI to build armhf and aarch64.
- Aarch64 added
- libzim compilation on (armhf|aarch64)_mixed added.
2023-03-28 17:57:39 +02:00
7ae3afd805 Introduce mixed target for armhf and aarch64. 2023-03-28 17:48:08 +02:00
ab2cbdbe5b Introduce aarch64 target.
In opposition to 32 bits, it is adapted to all PI (as long as they are
in 64 bits).
2023-03-28 17:47:48 +02:00
4e88c6eb10 Correctly set the armhf toolchain to a 32 bits arch.
cross-gcc-10.3.0-pi_64.tar.gz for 64 bits architecture and armhf
is about 32 bits.

However, we know use a pi 2 and 3 and Stretch only[*] toolchains

[*] To be tested. Maybe the only is for the target compilation but binary
run elsewhere too.
2023-03-28 17:46:31 +02:00
31771fa35c Introduce MixedMixin
We will need to create "mixed linkage" library for other arch than native.
It is better to move associated code in a separate part.
2023-03-28 17:40:12 +02:00
b6f49efcda Update meta version to not used cached library. 2023-03-28 16:16:22 +02:00
b8cd12a360 Update armhf toolschain. 2023-03-28 16:16:22 +02:00
bc3a73f26d Merge pull request #582 from kiwix/correct_libzim_version 2023-03-28 15:46:38 +02:00
556f02cf48 Set back the version of libzim to 8.1.0
The version of libzim (and other project too) is used to know what we
need to package in the published archive (nightly and releasee).

So the version must correspond to what is build.
For nightlies, we build the `main` branch and the main branch of libzim
is still on 8.1.0 so we must have the same version.

Fix openzim/libzim#772
2023-03-28 11:47:56 +02:00
be486cea4f Merge pull request #581 from kiwix/mainref
Additional master to main fixes
2023-03-28 11:05:26 +02:00
7c02c6b778 Fixed triggering workflows on zim-tools and kiwix-tools
Both the fallback and the passed ref were targeting the master branch of those repositories.
This triggers the workflow on their main branch and sets the default target branch to main as all our repositories use it.
2023-03-28 07:58:41 +00:00
c5acad73b4 Prevent incorrectly setting DEV_BRANCH
DEV_BRANCH is used to change archive upload behavior.
We current code it was incorrectly considering being on a dev branch while on main one (main)
2023-03-28 07:56:37 +00:00
61fb624f66 Correctly set the release version of libzim.
As we have change the version of libzim, release build must be 0.
r_43
2023-03-22 14:04:36 +01:00
efff7abbfc New release of libzim 8.1.1
As this is just a ABI fix and we recompile everything when we do
a release of our projects, we don't need to recompile our projects.
Building with libzim 8.1.0 was enough, no need to trigger a update in all
the users of prebuild binary.
r_42
2023-03-22 13:29:52 +01:00
82f9d89fd3 Merge pull request #579 from kiwix/fix_wasm_lib 2023-03-20 21:57:18 +01:00
424d426a0e Correctly package wasm archives.
With commit 6181d7bb, we have changed where archives are written.
We must addapt our packaging script.

Fix #556
2023-03-20 19:32:41 +01:00
7b776893fd Merge pull request #578 from kiwix/fix-release-workflow
Fix release workflow
2023-03-19 15:49:46 +01:00
9f448f83de Use fix versions for CI/CD 2023-03-19 15:24:33 +01:00
eae088e80f Remove unecessary dependence to container workflow 2023-03-19 15:22:50 +01:00
d17745ba49 Merge pull request #577 from kiwix/ci-uses-containers-35
Use new container images v36
2023-03-16 13:04:36 +01:00
f376e82aac Use new container images v36 2023-03-16 10:42:07 +01:00
92951ee827 Fix container image tagging 36 2023-03-16 10:31:08 +01:00
8862963dbc Merge pull request #576 from kiwix/new-attempt-for-container-images
New attempt for container images
35
2023-03-16 09:35:12 +01:00
245ca71692 Rename container workflow file 2023-03-16 09:34:22 +01:00
bd58d50051 Fix docker tag command 2023-03-16 09:33:56 +01:00
9d2eae0c34 Merge pull request #575 from kiwix/use-latest-container-images
Use latest container images
34
2023-03-16 09:16:36 +01:00
ea3a07e3c2 Fix container release 2023-03-16 09:05:03 +01:00
ad6de2897e Better name for container workflow 2023-03-16 09:01:50 +01:00
b8978b1c60 Merge pull request #566 from kiwix/new-ci-container-build
Move CI container building to a dedicated CI workflow
33
2023-03-15 17:17:49 +01:00
534dee9c94 Use new Docker images for kiwix-build CI 2023-03-15 13:25:13 +01:00
fb9ca9ec89 Add missing packages in bionic container. 2023-03-15 13:25:13 +01:00
672c6fdcb5 Update container user config 2023-03-15 13:25:13 +01:00
f16f55fd07 Add container 'latest' tag 2023-03-15 13:25:13 +01:00
fed574d0c9 Update CI container image doc 2023-03-15 13:25:13 +01:00
c1b8ff5d86 Better container image creation/upload workflow 2023-03-15 13:25:13 +01:00
b977392446 Remove CI container builds 2023-03-15 13:25:13 +01:00
b16cedc6be Move ci_images 2023-03-15 13:25:13 +01:00
dd1a276d7a Move CI container building to a dedicated CI workflow 2023-03-15 13:25:13 +01:00
d3e4111a18 Merge pull request #574 from kiwix/fix_android_base_deps 2023-03-15 12:36:18 +01:00
7a23bb5b8b Fix creation of base dependencies archive.
The `INSTALL_DIR` was added twice. It was not a issue as we then transform
the list into a set to remove duplicated.

But with `filter_install_dir` call only on one "add", the (textual)
entries are not duplicated and so, not removed. So the files where add
twice.

Now we correctly filter initial `INSTALL_DIR` and we remove the second add.
2023-03-14 17:17:30 +01:00