| 
 | 1 | +env:  | 
 | 2 | +  ### cirrus config  | 
 | 3 | +  CIRRUS_CLONE_DEPTH: 1  | 
 | 4 | +  ### compiler options  | 
 | 5 | +  HOST:  | 
 | 6 | +  WRAPPER_CMD:  | 
 | 7 | +  # Specific warnings can be disabled with -Wno-error=foo.  | 
 | 8 | +  # -pedantic-errors is not equivalent to -Werror=pedantic and thus not implied by -Werror according to the GCC manual.  | 
 | 9 | +  WERROR_CFLAGS: -Werror -pedantic-errors  | 
 | 10 | +  MAKEFLAGS: -j4  | 
 | 11 | +  BUILD: check  | 
 | 12 | +  ### secp256k1 config  | 
 | 13 | +  ECMULTWINDOW: 15  | 
 | 14 | +  ECMULTGENKB: 22  | 
 | 15 | +  ASM: no  | 
 | 16 | +  WIDEMUL: auto  | 
 | 17 | +  WITH_VALGRIND: yes  | 
 | 18 | +  EXTRAFLAGS:  | 
 | 19 | +  ### secp256k1 modules  | 
 | 20 | +  EXPERIMENTAL: no  | 
 | 21 | +  ECDH: no  | 
 | 22 | +  RECOVERY: no  | 
 | 23 | +  EXTRAKEYS: no  | 
 | 24 | +  SCHNORRSIG: no  | 
 | 25 | +  MUSIG: no  | 
 | 26 | +  ELLSWIFT: no  | 
 | 27 | +  ### test options  | 
 | 28 | +  SECP256K1_TEST_ITERS: 64  | 
 | 29 | +  BENCH: yes  | 
 | 30 | +  SECP256K1_BENCH_ITERS: 2  | 
 | 31 | +  CTIMETESTS: yes  | 
 | 32 | +  SYMBOL_CHECK: yes  | 
 | 33 | +  VIRTUAL_ENV: /root/venv  | 
 | 34 | +  # Compile and run the tests  | 
 | 35 | +  EXAMPLES: yes  | 
 | 36 | + | 
 | 37 | +cat_logs_snippet: &CAT_LOGS  | 
 | 38 | +  always:  | 
 | 39 | +    cat_tests_log_script:  | 
 | 40 | +      - cat tests.log || true  | 
 | 41 | +    cat_noverify_tests_log_script:  | 
 | 42 | +      - cat noverify_tests.log || true  | 
 | 43 | +    cat_exhaustive_tests_log_script:  | 
 | 44 | +      - cat exhaustive_tests.log || true  | 
 | 45 | +    cat_ctime_tests_log_script:  | 
 | 46 | +      - cat ctime_tests.log || true  | 
 | 47 | +    cat_bench_log_script:  | 
 | 48 | +      - cat bench.log || true  | 
 | 49 | +    cat_config_log_script:  | 
 | 50 | +      - cat config.log || true  | 
 | 51 | +    cat_test_env_script:  | 
 | 52 | +      - cat test_env.log || true  | 
 | 53 | +    cat_ci_env_script:  | 
 | 54 | +      - env  | 
 | 55 | + | 
 | 56 | +linux_arm64_container_snippet: &LINUX_ARM64_CONTAINER  | 
 | 57 | +  env_script:  | 
 | 58 | +    - export PATH="$VIRTUAL_ENV/bin:$PATH"  | 
 | 59 | +    - env | tee /tmp/env  | 
 | 60 | +  build_script:  | 
 | 61 | +    - DOCKER_BUILDKIT=1 docker build --file "ci/linux-debian.Dockerfile" --tag="ci_secp256k1_arm"  | 
 | 62 | +    - docker image prune --force  # Cleanup stale layers  | 
 | 63 | +  test_script:  | 
 | 64 | +    - 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"  | 
 | 65 | + | 
 | 66 | +task:  | 
 | 67 | +  name: "ARM64: Linux (Debian stable)"  | 
 | 68 | +  persistent_worker:  | 
 | 69 | +    labels:  | 
 | 70 | +      type: arm64  | 
 | 71 | +  env:  | 
 | 72 | +    ECDH: yes  | 
 | 73 | +    RECOVERY: yes  | 
 | 74 | +    EXTRAKEYS: yes  | 
 | 75 | +    SCHNORRSIG: yes  | 
 | 76 | +    MUSIG: yes  | 
 | 77 | +    ELLSWIFT: yes  | 
 | 78 | +  matrix:  | 
 | 79 | +     # Currently only gcc-snapshot, the other compilers are tested on GHA with QEMU  | 
 | 80 | +     - env: { CC: 'gcc-snapshot' }  | 
 | 81 | +  << : *LINUX_ARM64_CONTAINER  | 
 | 82 | +  << : *CAT_LOGS  | 
 | 83 | + | 
 | 84 | +task:  | 
 | 85 | +  name: "ARM64: Linux (Debian stable), Valgrind"  | 
 | 86 | +  persistent_worker:  | 
 | 87 | +    labels:  | 
 | 88 | +      type: arm64  | 
 | 89 | +  env:  | 
 | 90 | +    ECDH: yes  | 
 | 91 | +    RECOVERY: yes  | 
 | 92 | +    EXTRAKEYS: yes  | 
 | 93 | +    SCHNORRSIG: yes  | 
 | 94 | +    MUSIG: yes  | 
 | 95 | +    ELLSWIFT: yes  | 
 | 96 | +    WRAPPER_CMD: 'valgrind --error-exitcode=42'  | 
 | 97 | +    SECP256K1_TEST_ITERS: 2  | 
 | 98 | +  matrix:  | 
 | 99 | +     - env: { CC: 'gcc' }  | 
 | 100 | +     - env: { CC: 'clang' }  | 
 | 101 | +     - env: { CC: 'gcc-snapshot' }  | 
 | 102 | +     - env: { CC: 'clang-snapshot' }  | 
 | 103 | +  << : *LINUX_ARM64_CONTAINER  | 
 | 104 | +  << : *CAT_LOGS  | 
0 commit comments