Add ARM32/ARM64 CI

This commit is contained in:
Pieter Wuille 2021-05-02 12:48:38 -07:00
parent 98e0358d29
commit 7d65ed5214
2 changed files with 46 additions and 0 deletions

View File

@ -197,6 +197,48 @@ task:
- ./ci/cirrus.sh - ./ci/cirrus.sh
<< : *CAT_LOGS << : *CAT_LOGS
task:
name: "ARM32: Linux (Debian stable, QEMU)"
container:
dockerfile: ci/linux-debian.Dockerfile
cpu: 1
memory: 1G
env:
QEMU_CMD: qemu-arm
HOST: arm-linux-gnueabihf
BUILD:
WITH_VALGRIND: no
ECDH: yes
RECOVERY: yes
EXPERIMENTAL: yes
SCHNORRSIG: yes
CTIMETEST: no
<< : *MERGE_BASE
test_script:
- ./ci/cirrus.sh
<< : *CAT_LOGS
task:
name: "ARM64: Linux (Debian stable, QEMU)"
container:
dockerfile: ci/linux-debian.Dockerfile
cpu: 1
memory: 1G
env:
QEMU_CMD: qemu-aarch64
HOST: aarch64-linux-gnu
BUILD:
WITH_VALGRIND: no
ECDH: yes
RECOVERY: yes
EXPERIMENTAL: yes
SCHNORRSIG: yes
CTIMETEST: no
<< : *MERGE_BASE
test_script:
- ./ci/cirrus.sh
<< : *CAT_LOGS
task: task:
name: "x86_64 (mingw32-w64): Windows (Debian stable, Wine)" name: "x86_64 (mingw32-w64): Windows (Debian stable, Wine)"
container: container:

View File

@ -2,6 +2,8 @@ FROM debian:stable
RUN dpkg --add-architecture i386 RUN dpkg --add-architecture i386
RUN dpkg --add-architecture s390x RUN dpkg --add-architecture s390x
RUN dpkg --add-architecture armhf
RUN dpkg --add-architecture arm64
RUN apt-get update RUN apt-get update
# dkpg-dev: to make pkg-config work in cross-builds # dkpg-dev: to make pkg-config work in cross-builds
@ -11,6 +13,8 @@ RUN apt-get install --no-install-recommends --no-upgrade -y \
gcc clang libc6-dbg \ gcc clang libc6-dbg \
gcc-i686-linux-gnu libc6-dev-i386-cross libc6-dbg:i386 \ gcc-i686-linux-gnu libc6-dev-i386-cross libc6-dbg:i386 \
gcc-s390x-linux-gnu libc6-dev-s390x-cross libc6-dbg:s390x \ gcc-s390x-linux-gnu libc6-dev-s390x-cross libc6-dbg:s390x \
gcc-arm-linux-gnueabihf libc6-dev-armhf-cross libc6-dbg:armhf \
gcc-aarch64-linux-gnu libc6-dev-arm64-cross libc6-dbg:arm64 \
wine gcc-mingw-w64-x86-64 wine gcc-mingw-w64-x86-64
# Run a dummy command in wine to make it set up configuration # Run a dummy command in wine to make it set up configuration