Commit Graph

1437 Commits

Author SHA1 Message Date
2b6e305911 Install things in lib/aarch64-linux-gnu 2023-04-19 11:36:08 +02:00
51925bc4da Add the aarch64 toolchains to deps archive.
We need the aarch64 compiler to let's project build themselves.
2023-04-19 10:54:16 +02:00
65cf449c66 Update docker image to 37. 2023-04-18 10:34:08 +02:00
bfc9294318 Merge pull request #588 from kiwix/ubuntu-20.04
Move all our CI to focal instead of bionic
37
2023-04-12 16:54:41 +02:00
e6d04fb760 Update README. 2023-04-12 16:53:32 +02:00
d00c06da32 Use last version of linuxdeployqt.
LinuxDeployQt check for the libc version to not being to recent.
As we have change the version of libc by moving to focal, we have to
update the version of LinuxDeployQt.
2023-04-12 16:53:32 +02:00
0919f4d3dd [WIP] Use the docker image of our branch. 2023-04-12 16:53:32 +02:00
c9e9c5c070 Move all our CI to focal instead of bionic
Bionic is EOL.
2023-04-12 16:53:32 +02:00
3db22ba0bc Merge pull request #591 from kiwix/fix_arm64_compilation
Fix compilation on CI macOS
2023-04-12 16:53:02 +02:00
4b8862a959 Use only one code to determine what to build.
As we build the "same"[*] things with build_project and build_release_nightly,
let's use the same code.

[*] We are not building the same things has we don't run the same runners
(not the same `PLATFORM_TARGET`) but for a given `PLATFORM_TARGET`, we
are building the same things.
2023-04-12 11:26:12 +02:00
b905e87280 Fix compilation on CI macOS
We don't want to compile zim-tools on macOS_arm64_dynamic.
2023-04-12 11:26:12 +02:00
2cd4f782ba Merge pull request #589 from kiwix/zim_tools_publication
Build zim-tools cross-compiling.
2023-04-11 22:58:59 +02:00
9ee7567e80 Fix typos 2023-04-11 12:05:06 +02:00
ae3b1b6a25 Build zim-tools cross-compiling. 2023-04-11 12:05:06 +02:00
0b5eb668e7 Merge pull request #584 from kiwix/macos_arm64 2023-04-05 15:48:52 +02:00
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