ci: use unstable release for cross-compile

We added cross-compile tests with testing debian release to be able to
replicate the error reported in #1653, however, installing build
dependencies in this release currently fails with the following error:

libc6-dev:armhf : Breaks: libc6-dev-armhf-cross (< 2.33~) but 2.32-1cross4 is to be installed

This is not something we can fix, therefore using the debian unstable
release (instead of testing) could be more reliable option for our CI.
This would still replicate the problem reported in #1653.

Signed-off-by: Radostin Stoyanov <rstoyanov@fedoraproject.org>
This commit is contained in:
Radostin Stoyanov 2021-12-18 17:25:17 +00:00 committed by Andrei Vagin
parent 0e04a3c6a6
commit 9fd000c58d
15 changed files with 11 additions and 11 deletions

View file

@ -10,13 +10,13 @@ jobs:
matrix:
target: [
armv7-stable-cross,
armv7-testing-cross,
armv7-unstable-cross,
aarch64-stable-cross,
aarch64-testing-cross,
aarch64-unstable-cross,
ppc64-stable-cross,
ppc64-testing-cross,
ppc64-unstable-cross,
mips64el-stable-cross,
mips64el-testing-cross
mips64el-unstable-cross
]
steps:

View file

@ -1 +0,0 @@
Dockerfile.testing-cross.tmpl

View file

@ -0,0 +1 @@
Dockerfile.unstable-cross.tmpl

View file

@ -1 +0,0 @@
Dockerfile.testing-cross.tmpl

View file

@ -0,0 +1 @@
Dockerfile.unstable-cross.tmpl

View file

@ -1 +0,0 @@
Dockerfile.testing-cross.tmpl

View file

@ -0,0 +1 @@
Dockerfile.unstable-cross.tmpl

View file

@ -1 +0,0 @@
Dockerfile.testing-cross.tmpl

View file

@ -0,0 +1 @@
Dockerfile.unstable-cross.tmpl

View file

@ -1,7 +1,7 @@
COPY scripts/ci/apt-install /bin/apt-install
# Add the cross compiler sources
RUN echo "deb http://deb.debian.org/debian/ testing main" >> /etc/apt/sources.list && \
RUN echo "deb http://deb.debian.org/debian/ unstable main" >> /etc/apt/sources.list && \
dpkg --add-architecture ${DEBIAN_ARCH}
RUN apt-install \

View file

@ -1,7 +1,7 @@
ARCHES := x86_64 fedora-asan fedora-rawhide centos7 armv7hf centos8
STABLE_CROSS_ARCHES := armv7-stable-cross aarch64-stable-cross ppc64-stable-cross mips64el-stable-cross
TESTING_CROSS_ARCHES := armv7-testing-cross aarch64-testing-cross ppc64-testing-cross mips64el-testing-cross
NON_CLANG := $(TESTING_CROSS_ARCHES) $(STABLE_CROSS_ARCHES)
UNSTABLE_CROSS_ARCHES := armv7-unstable-cross aarch64-unstable-cross ppc64-unstable-cross mips64el-unstable-cross
NON_CLANG := $(UNSTABLE_CROSS_ARCHES) $(STABLE_CROSS_ARCHES)
CREATE_DOCKERFILES := $(ARCHES) $(NON_CLANG)
TARGETS := $(ARCHES) alpine archlinux
TARGETS_CLANG := $(addsuffix $(TARGETS),-clang)