Skip to content

Commit 0a16de6

Browse files
committed
ci: Move "ARM32: Linux..." from Cirrus to GitHub Actions
1 parent ea33914 commit 0a16de6

File tree

2 files changed

+55
-20
lines changed

2 files changed

+55
-20
lines changed

.cirrus.yml

-20
Original file line numberDiff line numberDiff line change
@@ -64,26 +64,6 @@ linux_container_snippet: &LINUX_CONTAINER
6464
# More than enough for our scripts.
6565
memory: 2G
6666

67-
task:
68-
name: "ARM32: Linux (Debian stable, QEMU)"
69-
<< : *LINUX_CONTAINER
70-
env:
71-
WRAPPER_CMD: qemu-arm
72-
SECP256K1_TEST_ITERS: 16
73-
HOST: arm-linux-gnueabihf
74-
WITH_VALGRIND: no
75-
ECDH: yes
76-
RECOVERY: yes
77-
SCHNORRSIG: yes
78-
ELLSWIFT: yes
79-
CTIMETESTS: no
80-
matrix:
81-
- env: {}
82-
- env: {EXPERIMENTAL: yes, ASM: arm32}
83-
test_script:
84-
- ./ci/ci.sh
85-
<< : *CAT_LOGS
86-
8767
task:
8868
name: "ARM64: Linux (Debian stable, QEMU)"
8969
<< : *LINUX_CONTAINER

.github/workflows/ci.yml

+55
Original file line numberDiff line numberDiff line change
@@ -224,6 +224,61 @@ jobs:
224224
run: env
225225
if: ${{ always() }}
226226

227+
arm32_debian:
228+
name: "ARM32: Linux (Debian stable, QEMU)"
229+
runs-on: ubuntu-latest
230+
needs: docker_cache
231+
232+
strategy:
233+
fail-fast: false
234+
matrix:
235+
configuration:
236+
- env_vars: {}
237+
- env_vars: { EXPERIMENTAL: 'yes', ASM: 'arm32' }
238+
239+
env:
240+
WRAPPER_CMD: 'qemu-arm'
241+
SECP256K1_TEST_ITERS: 16
242+
HOST: 'arm-linux-gnueabihf'
243+
WITH_VALGRIND: 'no'
244+
ECDH: 'yes'
245+
RECOVERY: 'yes'
246+
SCHNORRSIG: 'yes'
247+
ELLSWIFT: 'yes'
248+
CTIMETESTS: 'no'
249+
250+
steps:
251+
- name: Checkout
252+
uses: actions/checkout@v3
253+
254+
- name: CI script
255+
env: ${{ matrix.configuration.env_vars }}
256+
uses: ./.github/actions/run-in-docker-action
257+
with:
258+
dockerfile: ./ci/linux-debian.Dockerfile
259+
tag: linux-debian-image
260+
command: >
261+
git config --global --add safe.directory ${{ github.workspace }} &&
262+
./ci/ci.sh
263+
264+
- run: cat tests.log || true
265+
if: ${{ always() }}
266+
- run: cat noverify_tests.log || true
267+
if: ${{ always() }}
268+
- run: cat exhaustive_tests.log || true
269+
if: ${{ always() }}
270+
- run: cat ctime_tests.log || true
271+
if: ${{ always() }}
272+
- run: cat bench.log || true
273+
if: ${{ always() }}
274+
- run: cat config.log || true
275+
if: ${{ always() }}
276+
- run: cat test_env.log || true
277+
if: ${{ always() }}
278+
- name: CI env
279+
run: env
280+
if: ${{ always() }}
281+
227282
mingw_debian:
228283
name: ${{ matrix.configuration.job_name }}
229284
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)