Build the base deps on bionics also.

This will allow other project to have their CI running on bionics.
This commit is contained in:
Matthieu Gautier 2020-06-09 11:32:11 +02:00
parent 39ca099248
commit 4bdbc5ac53
3 changed files with 15 additions and 45 deletions

View File

@ -4,13 +4,16 @@ ENV LANG C.UTF-8
ENV OS_NAME bionic
RUN apt update -q \
&& dpkg --add-architecture i386 \
&& apt install -q -y --no-install-recommends \
# Base build tools
build-essential automake libtool cmake ccache pkg-config autopoint patch \
python3-pip python3-setuptools python3-wheel git subversion wget unzip \
ninja-build openssh-client \
ninja-build openssh-client curl \
# Python (2) is needed to install android-ndk
python \
# Packaged dependencies
libbz2-dev libmagic-dev uuid-dev zlib1g-dev \
libbz2-dev libmagic-dev uuid-dev zlib1g-dev default-jdk \
libmicrohttpd-dev aria2 libgtest-dev \
# Qt packages
libqt5gui5 qtbase5-dev qtwebengine5-dev libqt5svg5-dev qt5-image-formats-plugins qt5-default \
@ -18,8 +21,8 @@ RUN apt update -q \
libfuse2 fuse patchelf \
# Flatpak tools
elfutils flatpak flatpak-builder \
# Cross win32 compiler
g++-mingw-w64-i686 gcc-mingw-w64-i686 gcc-mingw-w64-base mingw-w64-tools \
# Cross compile i586
libc6-dev-i386 lib32stdc++6 gcc-multilib g++-multilib \
# Other tools (to remove)
# vim less grep \
&& apt-get clean -y \

View File

@ -6,7 +6,7 @@ on:
- cron: '0 1 * * *'
env:
DOCKER_VERSION: 29
DOCKER_VERSION: 30
jobs:
Docker:
@ -40,64 +40,31 @@ jobs:
- native_desktop
- armhf_static
- armhf_dyn
- win32_static
- win32_dyn
- i586_static
- i586_dyn
- android_arm
- android_arm64
- android_x86
- android_x86_64
image_variant: ['xenial', 'bionic']
lib_postfix: ['/x86_64-linux-gnu']
include:
- target: native_static
image_variant: xenial
lib_postfix: '/x86_64-linux-gnu'
- target: native_dyn
image_variant: xenial
lib_postfix: '/x86_64-linux-gnu'
- target: native_mixed
image_variant: xenial
lib_postfix: '/x86_64-linux-gnu'
- target: native_desktop
image_variant: bionic
lib_postfix: '/x86_64-linux-gnu'
- target: armhf_static
image_variant: xenial
lib_postfix: '/x86_64-linux-gnu'
- target: armhf_dyn
image_variant: xenial
lib_postfix: '/x86_64-linux-gnu'
- target: win32_static
image_variant: f31
lib_postfix: '64'
- target: win32_dyn
image_variant: f31
lib_postfix: '64'
- target: i586_static
exclude:
- target: native_desktop
image_variant: xenial
lib_postfix: '/x86_64-linux-gnu'
- target: i586_dyn
image_variant: xenial
lib_postfix: '/x86_64-linux-gnu'
- target: android_arm
image_variant: xenial
lib_postfix: '/x86_64-linux-gnu'
- target: android_arm64
image_variant: xenial
lib_postfix: '/x86_64-linux-gnu'
- target: android_x86
image_variant: xenial
lib_postfix: '/x86_64-linux-gnu'
- target: android_x86_64
image_variant: xenial
lib_postfix: '/x86_64-linux-gnu'
env:
HOME: /home/runner
SSH_KEY: /tmp/id_rsa
runs-on: ubuntu-latest
needs: Docker
container:
image: "kiwix/kiwix-build_ci:${{matrix.image_variant}}-29"
image: "kiwix/kiwix-build_ci:${{matrix.image_variant}}-30"
steps:
- name: Checkout code
shell: bash

View File

@ -8,7 +8,7 @@ on:
- cron: '0 1 * * *'
env:
DOCKER_VERSION: 29
DOCKER_VERSION: 30
jobs:
Docker:
@ -79,7 +79,7 @@ jobs:
runs-on: ubuntu-latest
needs: Docker
container:
image: "kiwix/kiwix-build_ci:${{matrix.image_variant}}-29"
image: "kiwix/kiwix-build_ci:${{matrix.image_variant}}-30"
options: "--device /dev/fuse --privileged"
steps:
- name: Checkout code