mirror of
https://github.com/checkpoint-restore/criu.git
synced 2026-01-23 02:14:37 +00:00
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:
parent
0e04a3c6a6
commit
9fd000c58d
15 changed files with 11 additions and 11 deletions
8
.github/workflows/cross-compile.yml
vendored
8
.github/workflows/cross-compile.yml
vendored
|
|
@ -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:
|
||||
|
|
|
|||
|
|
@ -1 +0,0 @@
|
|||
Dockerfile.testing-cross.tmpl
|
||||
1
scripts/build/Dockerfile.aarch64-unstable-cross.tmpl
Symbolic link
1
scripts/build/Dockerfile.aarch64-unstable-cross.tmpl
Symbolic link
|
|
@ -0,0 +1 @@
|
|||
Dockerfile.unstable-cross.tmpl
|
||||
|
|
@ -1 +0,0 @@
|
|||
Dockerfile.testing-cross.tmpl
|
||||
1
scripts/build/Dockerfile.armv7-unstable-cross.tmpl
Symbolic link
1
scripts/build/Dockerfile.armv7-unstable-cross.tmpl
Symbolic link
|
|
@ -0,0 +1 @@
|
|||
Dockerfile.unstable-cross.tmpl
|
||||
|
|
@ -1 +0,0 @@
|
|||
Dockerfile.testing-cross.tmpl
|
||||
1
scripts/build/Dockerfile.mips64el-unstable-cross.tmpl
Symbolic link
1
scripts/build/Dockerfile.mips64el-unstable-cross.tmpl
Symbolic link
|
|
@ -0,0 +1 @@
|
|||
Dockerfile.unstable-cross.tmpl
|
||||
|
|
@ -1 +0,0 @@
|
|||
Dockerfile.testing-cross.tmpl
|
||||
1
scripts/build/Dockerfile.ppc64-unstable-cross.tmpl
Symbolic link
1
scripts/build/Dockerfile.ppc64-unstable-cross.tmpl
Symbolic link
|
|
@ -0,0 +1 @@
|
|||
Dockerfile.unstable-cross.tmpl
|
||||
|
|
@ -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 \
|
||||
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue