mirror of
https://github.com/checkpoint-restore/criu
synced 2025-08-22 18:07:57 +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:
parent
718eb06be3
commit
4c1330bb0c
2
.github/workflows/cross-compile-daily.yml
vendored
2
.github/workflows/cross-compile-daily.yml
vendored
@ -10,7 +10,7 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
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]
|
branches: [criu-dev, master]
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
2
.github/workflows/cross-compile.yml
vendored
2
.github/workflows/cross-compile.yml
vendored
@ -8,7 +8,7 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
target: [armv7-cross, aarch64-cross, ppc64-cross, mips64el-cross]
|
target: [armv7-stable-cross, aarch64-stable-cross, ppc64-stable-cross, mips64el-stable-cross]
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
|
@ -1 +0,0 @@
|
|||||||
Dockerfile.cross.tmpl
|
|
1
scripts/build/Dockerfile.aarch64-stable-cross.tmpl
Symbolic link
1
scripts/build/Dockerfile.aarch64-stable-cross.tmpl
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
Dockerfile.stable-cross.tmpl
|
@ -1 +0,0 @@
|
|||||||
Dockerfile.cross.tmpl
|
|
1
scripts/build/Dockerfile.armv7-stable-cross.tmpl
Symbolic link
1
scripts/build/Dockerfile.armv7-stable-cross.tmpl
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
Dockerfile.stable-cross.tmpl
|
@ -1 +0,0 @@
|
|||||||
Dockerfile.cross.tmpl
|
|
1
scripts/build/Dockerfile.mips64el-stable-cross.tmpl
Symbolic link
1
scripts/build/Dockerfile.mips64el-stable-cross.tmpl
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
Dockerfile.stable-cross.tmpl
|
@ -1 +0,0 @@
|
|||||||
Dockerfile.cross.tmpl
|
|
1
scripts/build/Dockerfile.ppc64-stable-cross.tmpl
Symbolic link
1
scripts/build/Dockerfile.ppc64-stable-cross.tmpl
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
Dockerfile.stable-cross.tmpl
|
@ -1,9 +1,8 @@
|
|||||||
COPY scripts/ci/apt-install /bin/apt-install
|
COPY scripts/ci/apt-install /bin/apt-install
|
||||||
|
|
||||||
# Add the cross compiler sources
|
# Add the cross compiler sources
|
||||||
RUN echo "deb http://deb.debian.org/debian/ buster main" >> /etc/apt/sources.list && \
|
RUN echo "deb http://deb.debian.org/debian/ stable main" >> /etc/apt/sources.list && \
|
||||||
dpkg --add-architecture ${DEBIAN_ARCH} && \
|
dpkg --add-architecture ${DEBIAN_ARCH}
|
||||||
apt-install emdebian-archive-keyring
|
|
||||||
|
|
||||||
RUN apt-install \
|
RUN apt-install \
|
||||||
crossbuild-essential-${DEBIAN_ARCH} \
|
crossbuild-essential-${DEBIAN_ARCH} \
|
@ -1,5 +1,5 @@
|
|||||||
ARCHES := x86_64 fedora-asan fedora-rawhide centos7 armv7hf centos8
|
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)
|
CREATE_DOCKERFILES := $(ARCHES) $(NON_CLANG)
|
||||||
TARGETS := $(ARCHES) alpine archlinux
|
TARGETS := $(ARCHES) alpine archlinux
|
||||||
TARGETS_CLANG := $(addsuffix $(TARGETS),-clang)
|
TARGETS_CLANG := $(addsuffix $(TARGETS),-clang)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user