Matthieu Gautier
c27348bde3
Publish the CI only if we are on a dev branch.
...
If we try to publish all the time, we will conflict with `Release&Nigthly`
workflow as we would pulbish in nigthly directory.
Fix #550
2022-11-23 16:06:35 +01:00
Matthieu Gautier
75ca8dcf2a
Merge pull request #548 from kiwix/wasm
2022-11-22 13:49:41 +01:00
Matthieu Gautier
a44531bb8a
Upload generated packages on `tmp/ci` when building on branches.
...
We need to be able to test our generated artefacts before we merge the
branches.
2022-11-16 16:37:05 +01:00
Matthieu Gautier
ab421848c5
Use glob instead of specifying the lib_prefix.
...
There is no need to be specific here, we are already in INSTALL_DIR which
contains only things specific to our platform.
2022-11-16 16:37:05 +01:00
Matthieu Gautier
9881571047
Add packaging of libzim.a
...
Wasm build is creating a static library.
2022-11-16 16:37:05 +01:00
Matthieu Gautier
16fc490ae7
Add build of libzim on wasm in the CI
2022-11-16 16:37:05 +01:00
Matthieu Gautier
9695737ca1
Update meta_version to trigger a build on the CI
2022-11-16 16:37:05 +01:00
Matthieu Gautier
fd8044ba76
Reduce base dependencies to ony what needed on wasm.
2022-11-16 16:37:05 +01:00
Matthieu Gautier
6f8b82ad7d
Fallback to lzma-5.2.6
...
Version 5.2.7 include this commit
https://git.tukaani.org/?p=xz.git;a=commit;h=31d80c6b261b24220776dfaeb8a04f80f80e0a24
With this change, compiling libzim mixed (libzim dynamic and dependencies,
so lzma, statically) fails at libzim linking with a
`src/libzim.so.8.0.1: version node not found for symbol lzma_get_progress@XZ_5.2.2`
error message.
This can be "workaround" by passing `--disable-symbol-versions` to
configure script but then, it is the compilation of kiwix-desktop in
native_dyn which falling with
```
/usr/bin/ld: /usr/lib64/libsystemd.so.0: undefined reference to `lzma_code@XZ_5.0'
/usr/bin/ld: /usr/lib64/libsystemd.so.0: undefined reference to `lzma_end@XZ_5.0'
/usr/bin/ld: /usr/lib64/libsystemd.so.0: undefined reference to `lzma_stream_decoder@XZ_5.0'
/usr/bin/ld: /usr/lib64/libxml2.so.2: undefined reference to `lzma_auto_decoder@XZ_5.0'
/usr/bin/ld: /usr/lib64/libxml2.so.2: undefined reference to `lzma_properties_decode@XZ_5.0'
```
Probably because some native dependencies (Qt ?) use versionned symbols.
This have to be fixed somehow but until then, let's go back to 5.2.6
2022-11-16 16:37:05 +01:00
Matthieu Gautier
180fb249f6
Add a support to compile libzim for wasm.
...
`icu4c_wasm.patch` is build by :
- Copying config.sub from liblzma source as new version of config.sub there
knows about wasm architecture.
- Copying `mh-linux` on `mh-unknown` as specified in (origin) `mh-unknown`.
This is because icu4c configure doesn't detect `emscripten` platform and
"fallback" to `mh-unknown`.
2022-11-16 16:37:05 +01:00
Matthieu Gautier
b8c120b179
Pass the path of the patch in the command line instead of as stdin.
...
This way, we can see the applied patch in the log.
2022-11-16 10:46:06 +01:00
Matthieu Gautier
a7809b33fc
Update lzma version to 5.2.7
...
On top of using a more recent version (which is good it itself),
version 5.2.7 use a autotools version which knows about wasm.
2022-11-16 10:46:06 +01:00
Matthieu Gautier
ce82860b85
Introduce configure and make wrapper.
...
This way, we can use small wrapper tools from sdk to run configure and
make.
2022-11-16 10:45:57 +01:00
Matthieu Gautier
3c445389be
Merge pull request #547 from kiwix/update_android_ndk
2022-10-13 10:46:38 +02:00
Matthieu Gautier
3847844c54
Update android_ndk to version r21e
...
To do this, we need to update the android api to 24.
We lost all users using a android under api 24.
2022-09-29 09:45:15 +02:00
Matthieu Gautier
3c7c6048c9
Merge pull request #546 from kiwix/fix_release_detection
...
Fix release detection
2022-09-28 17:39:35 +02:00
Matthieu Gautier
dc814c626d
Upload read-only archive.
...
By uploading read-only archive, we prevent potential (implicit) re-upload.
A re-upload will always be possible if we remove the archive and rerun
the workflow. But it will be clearly explicit in this case.
2022-09-28 16:08:42 +02:00
Matthieu Gautier
f7706428a2
Make release only if we are running the workflow on a `r_xx` tag.
...
Also check that we are not a scheduled workflow
(But it is more a double check. This shloud not happen)
2022-09-28 15:09:53 +02:00
Matthieu Gautier
754b716a23
Merge pull request #545 from kiwix/build_dir_option
...
Add an option to set the build directory of kiwix-build.
2022-09-23 12:00:43 +02:00
Matthieu Gautier
e21cb8971a
Add an option to set the build directory of kiwix-build.
2022-09-21 16:15:14 +02:00
Matthieu Gautier
6d4aa756b5
New versions of zim-tools (3.1.2) and kiwix-desktop (2.3.0)
2022-09-07 18:53:14 +02:00
Matthieu Gautier
27bdda0bcf
New version 8.0.1 of libzim.
...
This is the minor fix for debian packaging.
No need to rebuild other projects.
2022-09-07 18:53:14 +02:00
Matthieu Gautier
a943388b41
Merge pull request #541 from kiwix/notarytool
...
Use notarytool to notarize on macOS
2022-09-07 17:40:46 +02:00
renaud gaudin
fe92fc5080
Use notarytool to notarize on macOS
...
altool has been deprecated in favor of notarytool
2022-09-06 14:52:15 +00:00
Matthieu Gautier
a8c769ddff
Merge pull request #539 from kiwix/update_certificate
...
Update Windows certificate for kiwix-desktop on appveyor.
2022-08-31 11:03:10 +02:00
Matthieu Gautier
b260b6e5ca
Update Windows certificate for kiwix-desktop on appveyor.
2022-08-31 10:24:03 +02:00
Matthieu Gautier
3ebf005cbb
New version 8.0.0 of libzim
2022-08-11 17:28:02 +02:00
Matthieu Gautier
c548a09f25
Merge pull request #536 from kiwix/ci_for_alpine
2022-07-11 16:19:39 +02:00
Veloman Yunkan
1755044333
Added CI image for Alpine
2022-07-11 17:38:07 +04:00
Matthieu Gautier
fce112d4b1
Merge pull request #535 from kiwix/libzim_android
2022-06-28 14:24:24 +02:00
Matthieu Gautier
33c2ec2c4d
Build and release libzim for android on the CI
2022-06-28 12:24:06 +02:00
Matthieu Gautier
bcbb164d49
Build libzim dynamically on android.
2022-06-28 12:23:35 +02:00
Matthieu Gautier
3764fde97e
We don't need jdk anymore to build on android
2022-06-28 12:23:04 +02:00
Matthieu Gautier
5939865e7c
New version 2.2.2 of kiwix-desktop
2022-06-22 16:08:55 +02:00
Matthieu Gautier
75e9571474
Merge pull request #533 from kiwix/flatpak_version
2022-06-21 17:53:19 +02:00
Matthieu Gautier
a04b989ed5
Update kde and qtwebengine to last Platform version.
2022-06-21 16:47:07 +02:00
Matthieu Gautier
72023a9a09
New version of libkiwix and kiwix-tools
...
Do not rebuild kiwix-desktop has current version is not compatible
with new version of libkiwix. We will do a release of kiwix-desktop soon.
2022-06-15 14:29:36 +02:00
Matthieu Gautier
6a3d3047e0
Do not try to package kiwix-search as it as been removed from kiwix-tools
2022-06-15 14:28:32 +02:00
Matthieu Gautier
2f1418949a
Merge pull request #529 from kiwix/url_fixes
2022-06-15 12:01:11 +02:00
Emmanuel Engelhart
f5ec8018dd
Fix various small things
2022-06-15 11:19:37 +02:00
Matthieu Gautier
4fd45bfe0f
Merge pull request #532 from kiwix/release_android_fix
2022-06-14 18:44:43 +02:00
Matthieu Gautier
dba45ced36
Build android lib in the correct directory
2022-06-14 17:48:51 +02:00
Matthieu Gautier
bd1064cb3a
Fix url of downloaded dependencies.
...
We now store the dependencies in kiwix-build subfolder
2022-06-14 17:48:26 +02:00
Matthieu Gautier
17c8c92dba
Merge pull request #531 from kiwix/release_android_fix
2022-06-10 16:18:59 +02:00
Matthieu Gautier
9c220866ac
Build and release each libkiwix android builds independently.
...
While it is ok to build all libkiwix android builds in one step,
the "release system" upload only one archive per platform.
So we need 4 platforms to do 4 uploads.
As we don't build on "android" platform now, we can clean up our scripts.
2022-06-10 10:26:24 +02:00
Matthieu Gautier
7086009a0a
We don't need to upload to bintray now.
2022-06-10 10:11:01 +02:00
Matthieu Gautier
ed7e628182
Merge pull request #530 from kiwix/libkiwix_no_wrapper
2022-06-09 15:18:26 +02:00
Matthieu Gautier
51ff5e58bb
Be able to make the release of libkiwix on android.
2022-06-09 10:31:09 +02:00
Matthieu Gautier
aa4250dd41
Build libkiwix with the right new option on android
2022-06-09 10:30:37 +02:00
Matthieu Gautier
72c271a74c
Remove LibkiwixApp
...
The project was used to assemble all android compilation in one
multiplatform java archive.
This allow use to remove android_sdk and Gradle builder
2022-06-09 10:28:59 +02:00