From 7d65ed5214273275841f5aa272ad561df7ea7f21 Mon Sep 17 00:00:00 2001 From: Pieter Wuille Date: Sun, 2 May 2021 12:48:38 -0700 Subject: [PATCH 1/2] Add ARM32/ARM64 CI --- .cirrus.yml | 42 ++++++++++++++++++++++++++++++++++++++ ci/linux-debian.Dockerfile | 4 ++++ 2 files changed, 46 insertions(+) diff --git a/.cirrus.yml b/.cirrus.yml index ffae165..1242383 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -197,6 +197,48 @@ task: - ./ci/cirrus.sh << : *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: name: "x86_64 (mingw32-w64): Windows (Debian stable, Wine)" container: diff --git a/ci/linux-debian.Dockerfile b/ci/linux-debian.Dockerfile index ef2518f..6559c58 100644 --- a/ci/linux-debian.Dockerfile +++ b/ci/linux-debian.Dockerfile @@ -2,6 +2,8 @@ FROM debian:stable RUN dpkg --add-architecture i386 RUN dpkg --add-architecture s390x +RUN dpkg --add-architecture armhf +RUN dpkg --add-architecture arm64 RUN apt-get update # 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-i686-linux-gnu libc6-dev-i386-cross libc6-dbg:i386 \ 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 # Run a dummy command in wine to make it set up configuration From 8bbad7a18e5dc5054b27ae44ea0c8dffe050f6bf Mon Sep 17 00:00:00 2001 From: Pieter Wuille Date: Sun, 2 May 2021 13:39:22 -0700 Subject: [PATCH 2/2] Add asm build to ARM32 CI --- .cirrus.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.cirrus.yml b/.cirrus.yml index 1242383..c829835 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -213,6 +213,9 @@ task: EXPERIMENTAL: yes SCHNORRSIG: yes CTIMETEST: no + matrix: + - env: {} + - env: {ASM: arm} << : *MERGE_BASE test_script: - ./ci/cirrus.sh