Skip to content

Commit

Permalink
ci/cirrus: Add native ARM64 jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
real-or-random committed Sep 5, 2023
1 parent 2262d0e commit a7f0667
Showing 1 changed file with 51 additions and 0 deletions.
51 changes: 51 additions & 0 deletions .cirrus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,3 +48,54 @@ cat_logs_snippet: &CAT_LOGS
- cat test_env.log || true
cat_ci_env_script:
- env

linux_arm64_container_snippet: &LINUX_ARM64_CONTAINER
dockerfile: ci/linux-debian.Dockerfile
# Reduce number of CPUs to be able to do more builds in parallel.
cpu: 1
# Gives us more CPUs for free if they're available.
greedy: true
# More than enough for our scripts.
memory: 2G

task:
name: "ARM64: Linux (Debian stable)"
arm_container:
<< : *LINUX_ARM64_CONTAINER
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' }
test_script:
- ./ci/ci.sh
<< : *CAT_LOGS

task:
name: "ARM64: Linux (Debian stable), Valgrind"
arm_container:
<< : *LINUX_ARM64_CONTAINER
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' }
test_script:
- ./ci/ci.sh
<< : *CAT_LOGS

0 comments on commit a7f0667

Please sign in to comment.