Chris Li
7a10adadd6
build_definition.py
2023-10-20 09:19:01 -04:00
Chris Li
55c1ac8832
CI
2023-10-19 09:11:01 -04:00
Chris Li
72d21215b6
dependency
2023-10-18 22:20:36 -04:00
Chris Li
51dcd3209d
iOS
2023-10-18 21:53:20 -04:00
Matthieu Gautier
44a8963c50
New version libkiwix 13.0.0
...
This is mainly a release of libkiwix 12.1.0 as 12.1.0 introduce breaking
changes.
No need to rebuild kiwix-tools (it is already builded with 12.1.0)
Don't build kiwix-destkop as current version of kiwix-desktop is not
ported to kiwix-13.0.0 (`main` is, but not last release).
2023-09-14 16:06:13 +02:00
Matthieu Gautier
6ee003bf9b
New version of libkiwix.
...
Libkiwix 12.1.1 is just a hot patch to avoid a breaking change in 12.1.0
No need to rebuild kiwix-tools.
2023-09-14 13:49:16 +02:00
Matthieu Gautier
19ef9178b0
Trigger a new build of libzim.
...
With the fallback of aarc64 toolchain, we need to rebuild libzim.
2023-09-01 11:06:49 +02:00
Matthieu Gautier
4dfae35d8a
Merge pull request #635 from kiwix/aarch_glibcxx
2023-08-24 17:04:03 +02:00
Matthieu Gautier
65dd03e58f
Move back to the old toolchain for aarch64
...
Fix #634
2023-08-11 16:18:25 +02:00
Matthieu Gautier
75a1963572
Merge pull request #633 from kiwix/fix_kiwix-desktop_deps
2023-07-31 22:59:47 +02:00
Matthieu Gautier
458aa97b36
Correctly build (and publish) dependencies for kiwix-desktop.
2023-07-31 17:44:36 +02:00
Matthieu Gautier
ad866a7790
Merge pull request #632 from kiwix/fix_ci2
2023-07-29 16:15:38 +02:00
Matthieu Gautier
a6aa18cfcc
Add missing env variable.
...
The variables are not used in the context of docker triggering.
I prefer set dummy variables instead of use a default value in the code
to be sure that the variable are defined when needed.
2023-07-29 13:33:37 +02:00
Matthieu Gautier
58f9ede10a
Merge pull request #631 from kiwix/fix_ci
2023-07-28 11:22:08 +02:00
Matthieu Gautier
32db47d007
Add missing runs-on
2023-07-28 10:12:17 +02:00
Matthieu Gautier
e9c039dc9b
Merge pull request #630 from kiwix/better_ci_def
2023-07-27 16:11:51 +02:00
Matthieu Gautier
45b459a03a
Trigger docker workflow at the end of other jobs.
2023-07-27 15:20:00 +02:00
Matthieu Gautier
8070a750f5
Reorder few lines.
...
No functional change but it regroups lines with a platform_name.
2023-07-26 15:30:15 +02:00
Matthieu Gautier
46c663db09
Move the release platform name in the build definition.
...
Having the name of the archive define in common is splitting definition
in different files.
The purpose of build_definition is to centralize definition, so move them
there.
2023-07-26 15:28:50 +02:00
Matthieu Gautier
7e9a145bc5
Introduce D(ocker) build definition.
...
Partially fix #629
2023-07-26 15:09:13 +02:00
Matthieu Gautier
07e72ffba4
Extend the build definition with P(ublish) and S(ource)
...
This allow us to better control what we publish.
This fix #628
2023-07-26 15:04:37 +02:00
Matthieu Gautier
1876b5f542
New version of libzim and libkiwix
...
- libzim 8.2.1
- libkiwix 12.1.0
2023-07-20 15:58:54 +02:00
Matthieu Gautier
10e920ca00
Fix typos
2023-06-15 09:48:08 +02:00
Matthieu Gautier
c58d50474b
Merge pull request #611 from kiwix/arm64_musl
2023-06-14 16:45:30 +02:00
Matthieu Gautier
7cdffbe22f
Correctly add toolchains in deps archives.
2023-06-14 15:57:49 +02:00
Matthieu Gautier
1748f48197
Publish aarch64_musl.
2023-06-14 15:57:49 +02:00
Matthieu Gautier
64a686effe
Build aarch64_musl on the CI.
2023-06-14 15:57:49 +02:00
Matthieu Gautier
5884909b25
Add target aarch64_musl_*
...
I have to mention that adding a new cross compiled target never seems
so simple.
2023-06-14 15:57:49 +02:00
Matthieu Gautier
d1b39dfb98
Correctly build native_mixed on bionic and focal.
...
If `native_mixed` is part of the original target, the "include" with the
`image_variant` will overwrite the combination.
If we remove `native_mixed`, both combinations are added.
See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstrategymatrixinclude
2023-06-13 12:38:36 +02:00
Matthieu Gautier
0f75a42498
Do not build libzim and libkiwix on macos arm64 static.
...
We should build them using mixed target only.
2023-06-12 14:46:06 +02:00
Matthieu Gautier
d6a2901ff8
Fix typos in build_release_nigthly
2023-06-08 10:15:38 +02:00
Kelson
23fab75d04
Merge pull request #610 from kiwix/fix_publication_macos
...
Fix packaging of libzim and libkiwix on macOS.
2023-06-07 17:03:54 +02:00
Matthieu Gautier
06d7a26cb4
Fix extraction of major version from version.
...
Taking the first char is ok only if major version is < 10.
2023-06-07 15:55:59 +02:00
Matthieu Gautier
4602ead6be
Fix packaging of libzim and libkiwix on macOS.
...
On MacOs, libraries are in `.dylib`, not `.so`.
Also package the `.pc` file.
2023-06-07 14:06:07 +02:00
Matthieu Gautier
07d443d96b
Merge pull request #612 from kiwix/better_build_def2
2023-06-07 14:03:33 +02:00
Matthieu Gautier
6fe37ba0de
Rename osx to macos.
2023-06-02 16:09:22 +02:00
Matthieu Gautier
7b6ed275ed
Remove code for kiwix-desktop workaround.
...
As we don't use the workaround now, we can remove the code associated to
it.
It simplify our build definition.
2023-06-02 16:09:22 +02:00
Matthieu Gautier
8237adf950
Do not use a specific target native_desktop
.
...
`native_desktop` is not a real target_platform. It is workaround to
specify "build only kiwix-desktop on native_dyn".
It was useful, when we need to build kiwix-desktop on a different build
env than the other project (because of packaging constraints).
Now we can build kiwix-desktop and all other projects on the same build
env, we can remove it and build kiwix-desktop with other `native_dyn`.
2023-06-02 16:09:22 +02:00
Matthieu Gautier
7db434ee6d
Use the common build definition to specify which deps build.
...
The build definition update follow what we build in the project's CI,
not what was defined by the replaced python code.
2023-06-02 16:09:22 +02:00
Matthieu Gautier
3defd4eba7
Be explicit about all our combinations.
2023-06-02 16:00:26 +02:00
Matthieu Gautier
e59e3698b2
Open build definition system to more complex build definition.
2023-06-02 15:58:53 +02:00
Matthieu Gautier
fc81551555
Remove unused import.
2023-06-02 15:58:02 +02:00
Matthieu Gautier
fd46c52473
Move the definition of what to build in a table.
...
This provide a better visual definition (and potential better explicit)
of the previous code base on `if/else`.
2023-06-02 15:58:00 +02:00
Matthieu Gautier
7f7156ece5
New build of libzim, kiwix-tools and zim-tools.
...
Previous build was broken on arm and aarch64.
With new toolschain, it should be ok, but we need a new build for them.
2023-06-01 15:29:18 +02:00
Kelson
c5037e6fd4
Merge pull request #615 from kiwix/better_arm
...
Switch (again) to new arm cross-compilation toolchain.
2023-05-23 13:39:54 +03:00
Matthieu Gautier
e751c1166c
Correctly package armv* toolchain in base dependency.
2023-05-23 08:58:17 +03:00
Matthieu Gautier
ae4dcac4e5
Update base_deps_meta_version
2023-05-22 19:03:57 +02:00
Matthieu Gautier
a302a597e2
Remove lib_postfix
from CI.
...
This variable is never used.
2023-05-22 19:03:57 +02:00
Matthieu Gautier
c6ea16edd9
Build for armv6 and armv8 on the CI.
2023-05-22 19:03:57 +02:00
Matthieu Gautier
897e7f292c
Switch (again) to new arm cross-compilation toolchain.
...
This introduce a difference between armv6 and armv8.
2023-05-22 19:03:57 +02:00