Commit 75136d81 authored by Jan Kiszka's avatar Jan Kiszka

ci: Pull kernels from git and enhance coverage

This switches to cloning the ipipe tree, rather than downloading
patches. It allows to test also unreleased ipipe revisions.

The test matrix is enhanced by
 - 4.19-arm
 - 4.14.78-arm64
 - 4.14.y-x86
 - 4.4.y-x86
 - 4.4.y-arm

The 4.1-arm build is dropped because that kernel is no longer supported
- and the build is broken.

Furthermore, the no longer supported i386 target is replaced with x86-64
for 4.4.
Signed-off-by: Jan Kiszka's avatarJan Kiszka <jan.kiszka@siemens.com>
parent 68c8760f
......@@ -9,9 +9,6 @@ addons:
- libc6-dev-arm64-cross
- gcc-arm-linux-gnueabihf
- libc6-dev-armhf-cross
- patch
- quilt
- wget
env:
global:
......@@ -20,13 +17,7 @@ env:
- CCACHE_MAXSIZE=400M
install:
- if [[ "${KERNEL_VERSION}" == *-rc* ]]; then
KERNEL_URL=https://git.kernel.org/torvalds/t/linux-${KERNEL_VERSION}.tar.gz;
else
KERNEL_URL=https://www.kernel.org/pub/linux/kernel/v${KERNEL_VERSION::1}.x/linux-${KERNEL_VERSION}.tar.xz;
fi
- wget -O kernel.tar.xz ${KERNEL_URL} && mkdir ${KDIR} && tar -C ${KDIR} --strip=1 -xf kernel.tar.xz
- wget -O /tmp/ipipe.patch ${IPIPE_URL}
- git clone --depth 1 --branch ${IPIPE_REV} ${IPIPE_KERNEL} ${KDIR}
before_script:
- case "${ARCH}" in
......@@ -135,7 +126,7 @@ before_script:
- popd
script:
- scripts/prepare-kernel.sh --ipipe=/tmp/ipipe.patch --arch=${ARCH} --linux=${KDIR}
- scripts/prepare-kernel.sh --arch=${ARCH} --linux=${KDIR}
- pushd ${KDIR}
- make -j $(nproc) olddefconfig
- make -j $(nproc) all
......@@ -150,21 +141,41 @@ matrix:
include:
- env:
- ARCH: arm
KERNEL_VERSION: 4.14.85
IPIPE_REV: ipipe-core-4.19.33-arm-2
IPIPE_KERNEL: https://gitlab.denx.de/Xenomai/ipipe-arm.git
KERNEL_DEFCONFIG: multi_v7_defconfig
IPIPE_URL: https://xenomai.org/downloads/ipipe/v4.x/arm/ipipe-core-4.14.85-arm-6.patch
- env:
- ARCH: arm
KERNEL_VERSION: 4.1.18
IPIPE_REV: ipipe-core-4.14.85-arm-6
IPIPE_KERNEL: https://gitlab.denx.de/Xenomai/ipipe-arm.git
KERNEL_DEFCONFIG: multi_v7_defconfig
IPIPE_URL: https://xenomai.org/downloads/ipipe/v4.x/arm/older/ipipe-core-4.1.18-arm-9.patch
- env:
- ARCH: arm
IPIPE_REV: ipipe-4.4.y
IPIPE_KERNEL: https://gitlab.denx.de/Xenomai/ipipe.git
KERNEL_DEFCONFIG: multi_v7_defconfig
- env:
- ARCH: arm64
IPIPE_REV: v4.14.78-split
IPIPE_KERNEL: https://gitlab.denx.de/Xenomai/ipipe-arm64.git
KERNEL_DEFCONFIG: defconfig
- env:
- ARCH: x86
KERNEL_VERSION: 4.14.89
IPIPE_REV: ipipe-x86-4.14.y
IPIPE_KERNEL: https://gitlab.denx.de/Xenomai/ipipe-x86.git
KERNEL_DEFCONFIG: x86_64_defconfig
IPIPE_URL: https://xenomai.org/downloads/ipipe/v4.x/x86/ipipe-core-4.14.89-x86-2.patch
- env:
- ARCH: x86
KERNEL_VERSION: 4.4.166
KERNEL_DEFCONFIG: i386_defconfig
IPIPE_URL: https://xenomai.org/downloads/ipipe/v4.x/x86/ipipe-core-4.4.166-x86-12.patch
IPIPE_REV: ipipe-core-4.14.111-x86-3
IPIPE_KERNEL: https://gitlab.denx.de/Xenomai/ipipe-x86.git
KERNEL_DEFCONFIG: x86_64_defconfig
- env:
- ARCH: x86
IPIPE_REV: ipipe-4.4.y
IPIPE_KERNEL: https://gitlab.denx.de/Xenomai/ipipe.git
KERNEL_DEFCONFIG: x86_64_defconfig
- env:
- ARCH: x86
IPIPE_REV: ipipe-core-4.4.176-x86-14
IPIPE_KERNEL: https://gitlab.denx.de/Xenomai/ipipe.git
KERNEL_DEFCONFIG: x86_64_defconfig
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment