Merge pull request #702 from kiwix/no_bionic

This commit is contained in:
Matthieu Gautier 2024-06-03 16:53:39 +02:00 committed by GitHub
commit f4e2f0a845
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
6 changed files with 52 additions and 52 deletions

View File

@ -17,9 +17,9 @@ import csv, io, re
BUILD_DEF = """
| OS_NAME | COMPILE_CONFIG | libzim | libkiwix | zim-tools | kiwix-tools | kiwix-desktop | platform_name | dependency_name |
==============================================================================================================================================
# Bionic is a special case as we need to compile libzim on old arch for python
| bionic | native_mixed | BP | | | | | linux-x86_64-bionic | |
| bionic | aarch64_mixed | BP | | | | | linux-aarch64-bionic | |
# manylinux is a special case as we need to compile libzim on old arch for python
| manylinux | native_mixed | BP | | | | | linux-x86_64-manylinux | |
| manylinux | aarch64_mixed | BP | | | | | linux-aarch64-manylinux | |
----------------------------------------------------------------------------------------------------------------------------------------------
# Osx builds, build binaries on native_dyn and native_static. On anyother things, build only the libraries
| macos | native_dyn | d | d | dB | B | | | macos-x86_64-dyn |

View File

@ -38,9 +38,9 @@ jobs:
image_variant: ['focal']
include:
- config: native_mixed
image_variant: bionic
image_variant: manylinux
- config: aarch64_mixed
image_variant: bionic
image_variant: manylinux
- config: win32_static
image_variant: f35
- config: win32_dyn
@ -50,7 +50,7 @@ jobs:
SSH_KEY: /tmp/id_rsa
runs-on: ubuntu-22.04
container:
image: "ghcr.io/kiwix/kiwix-build_ci_${{matrix.image_variant}}:2023-10-30"
image: "ghcr.io/kiwix/kiwix-build_ci_${{matrix.image_variant}}:2024-06-03"
options: "--device /dev/fuse --privileged"
steps:
- name: Checkout code

View File

@ -35,9 +35,9 @@ jobs:
image_variant: ['focal']
include:
- config: native_mixed
image_variant: bionic
image_variant: manylinux
- config: aarch64_mixed
image_variant: bionic
image_variant: manylinux
- config: win32_static
image_variant: f35
env:
@ -45,7 +45,7 @@ jobs:
SSH_KEY: /tmp/id_rsa
runs-on: ubuntu-22.04
container:
image: "ghcr.io/kiwix/kiwix-build_ci_${{matrix.image_variant}}:2023-10-30"
image: "ghcr.io/kiwix/kiwix-build_ci_${{matrix.image_variant}}:2024-06-03"
options: "--device /dev/fuse --privileged"
steps:
- name: Checkout code

View File

@ -6,7 +6,7 @@ from kiwixbuild._global import get_target_step
# Base config for arm
class ArmConfigInfo(ConfigInfo):
compatible_hosts = ["fedora", "debian"]
compatible_hosts = ["fedora", "debian", "almalinux"]
def get_cross_config(self):
return {

View File

@ -29,16 +29,16 @@ class NativeConfigInfo(ConfigInfo):
class NativeDyn(NativeConfigInfo):
name = "native_dyn"
static = False
compatible_hosts = ["fedora", "debian", "Darwin"]
compatible_hosts = ["fedora", "debian", "Darwin", "almalinux"]
class NativeStatic(NativeConfigInfo):
name = "native_static"
static = True
compatible_hosts = ["fedora", "debian", "Darwin"]
compatible_hosts = ["fedora", "debian", "Darwin", "almalinux"]
class NativeMixed(MixedMixin("native_static"), NativeConfigInfo):
name = "native_mixed"
static = False
compatible_hosts = ["fedora", "debian", "Darwin"]
compatible_hosts = ["fedora", "debian", "Darwin", "almalinux"]

View File

@ -13,7 +13,7 @@ class AllBaseDependencies(Dependency):
class Builder(NoopBuilder):
@classmethod
def get_dependencies(cls, configInfo, allDeps):
if configInfo.build == "wasm" or environ.get("OS_NAME") == "bionic":
if configInfo.build == "wasm" or environ.get("OS_NAME") == "manylinux":
return ["zlib", "lzma", "zstd", "icu4c", "xapian-core"]
base_deps = [