mirror of
https://github.com/checkpoint-restore/criu.git
synced 2026-07-17 16:47:50 +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
16 changed files with 9 additions and 10 deletions
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
|
||||
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:
|
||||
|
|
|
|||
2
.github/workflows/cross-compile.yml
vendored
2
.github/workflows/cross-compile.yml
vendored
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
||||
# 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} \
|
||||
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue