2
0
mirror of https://github.com/checkpoint-restore/criu synced 2025-08-22 09:58:09 +00:00

ci: Run cross compile on debian stable

The current debian stable release is Bullseye, not Buster. However, we
can use the 'stable' release instead. This would allow the CI to
automatically pick up updates in the future.

Signed-off-by: Radostin Stoyanov <radostin@redhat.com>
This commit is contained in:
Radostin Stoyanov 2021-12-04 16:18:26 +00:00 committed by Andrei Vagin
parent 718eb06be3
commit 4c1330bb0c
16 changed files with 9 additions and 10 deletions

View File

@ -10,7 +10,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
target: [armv7-cross, aarch64-cross, ppc64-cross, mips64el-cross]
target: [armv7-stable-cross, aarch64-stable-cross, ppc64-stable-cross, mips64el-stable-cross]
branches: [criu-dev, master]
steps:

View File

@ -8,7 +8,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
target: [armv7-cross, aarch64-cross, ppc64-cross, mips64el-cross]
target: [armv7-stable-cross, aarch64-stable-cross, ppc64-stable-cross, mips64el-stable-cross]
steps:
- uses: actions/checkout@v2

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -1,9 +1,8 @@
COPY scripts/ci/apt-install /bin/apt-install
# Add the cross compiler sources
RUN echo "deb http://deb.debian.org/debian/ buster main" >> /etc/apt/sources.list && \
dpkg --add-architecture ${DEBIAN_ARCH} && \
apt-install emdebian-archive-keyring
RUN echo "deb http://deb.debian.org/debian/ stable main" >> /etc/apt/sources.list && \
dpkg --add-architecture ${DEBIAN_ARCH}
RUN apt-install \
crossbuild-essential-${DEBIAN_ARCH} \

View File

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