From 2fb1a58cbc1f4cb4f798a4b1a4159371601cb4a3 Mon Sep 17 00:00:00 2001 From: Tim Ruffing Date: Thu, 26 Oct 2023 11:19:49 +0200 Subject: [PATCH] WIP ci/cirrus: Add ARM32 valgrind tasks [skip actions] --- .cirrus.yml | 64 ++++++++++++++++++++++++++++++++++++----------------- 1 file changed, 44 insertions(+), 20 deletions(-) diff --git a/.cirrus.yml b/.cirrus.yml index 04aa8f2409..713e0fa8b9 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -58,28 +58,49 @@ linux_arm64_container_snippet: &LINUX_ARM64_CONTAINER test_script: - docker run --rm --mount "type=bind,src=./,dst=/ci_secp256k1" --env-file /tmp/env --replace --name "ci_secp256k1_arm" "ci_secp256k1_arm" bash -c "cd /ci_secp256k1/ && ./ci/ci.sh" -task: - name: "ARM64: Linux (Debian stable)" - persistent_worker: - labels: - type: arm64 - env: - ECDH: yes - RECOVERY: yes - SCHNORRSIG: yes - ELLSWIFT: yes - matrix: - # Currently only gcc-snapshot, the other compilers are tested on GHA with QEMU - - env: { CC: 'gcc-snapshot' } - << : *LINUX_ARM64_CONTAINER - << : *CAT_LOGS +# task: +# name: "ARM64: Linux (Debian stable)" +# persistent_worker: +# labels: +# type: arm64 +# env: +# ECDH: yes +# RECOVERY: yes +# SCHNORRSIG: yes +# ELLSWIFT: yes +# matrix: +# # Currently only gcc-snapshot, the other compilers are tested on GHA with QEMU +# - env: { CC: 'gcc-snapshot' } +# << : *LINUX_ARM64_CONTAINER +# << : *CAT_LOGS + +# task: +# name: "ARM64: Linux (Debian stable), Valgrind" +# persistent_worker: +# labels: +# type: arm64 +# env: +# ECDH: yes +# RECOVERY: yes +# SCHNORRSIG: yes +# ELLSWIFT: yes +# WRAPPER_CMD: 'valgrind --error-exitcode=42' +# SECP256K1_TEST_ITERS: 2 +# matrix: +# - env: { CC: 'gcc' } +# - env: { CC: 'clang' } +# - env: { CC: 'gcc-snapshot' } +# - env: { CC: 'clang-snapshot' } +# << : *LINUX_ARM64_CONTAINER +# << : *CAT_LOGS task: - name: "ARM64: Linux (Debian stable), Valgrind" + name: "ARM32: Linux (Debian stable), Valgrind" persistent_worker: labels: type: arm64 env: + HOST: 'arm-linux-gnueabihf' ECDH: yes RECOVERY: yes SCHNORRSIG: yes @@ -87,9 +108,12 @@ task: WRAPPER_CMD: 'valgrind --error-exitcode=42' SECP256K1_TEST_ITERS: 2 matrix: - - env: { CC: 'gcc' } - - env: { CC: 'clang' } - - env: { CC: 'gcc-snapshot' } - - env: { CC: 'clang-snapshot' } + - env: { } + - env: { EXPERIMENTAL: 'yes', ASM: 'arm32' } + matrix: + - env: { } # gcc + - env: { CC: 'clang --target=arm-linux-gnueabihf' } + # - env: { CC: 'gcc-snapshot' } # multilib gcc? + - env: { CC: 'clang-snapshot --target=arm-linux-gnueabihf' } << : *LINUX_ARM64_CONTAINER << : *CAT_LOGS