Skip to content

Commit f253031

Browse files
willcl-arkm3dwards
andcommitted
ci: port arm 32-bit job
Co-authored-by: Max Edwards <[email protected]>
1 parent 04e7bfb commit f253031

File tree

1 file changed

+43
-0
lines changed

1 file changed

+43
-0
lines changed

.github/workflows/ci.yml

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -453,3 +453,46 @@ jobs:
453453
path: ${{ env.CCACHE_DIR }}
454454
# https://github.com/actions/cache/blob/main/tips-and-workarounds.md#update-a-cache
455455
key: ${{ github.job }}-ccache-${{ github.run_id }}
456+
457+
ci-matrix:
458+
name: ${{ matrix.name }}
459+
needs: runners
460+
runs-on: ${{ needs.runners.outputs.use-cirrus-runners == 'true' && matrix.cirrus-runner || matrix.fallback-runner }}
461+
if: ${{ vars.SKIP_BRANCH_PUSH != 'true' || github.event_name == 'pull_request' }}
462+
timeout-minutes: ${{ matrix.timeout-minutes }}
463+
464+
env:
465+
DANGER_CI_ON_HOST_FOLDERS: 1
466+
FILE_ENV: ${{ matrix.file-env }}
467+
468+
strategy:
469+
fail-fast: false
470+
matrix:
471+
include:
472+
- name: '32 bit ARM, unit tests, no functional tests'
473+
cirrus-runner: 'ubuntu-24.04-arm' # Cirrus' Arm runners are Apple (with virtual Linux aarch64), which doesn't support 32-bit mode
474+
fallback-runner: 'ubuntu-24.04-arm'
475+
timeout-minutes: 120
476+
file-env: './ci/test/00_setup_env_arm.sh'
477+
478+
steps:
479+
- name: Checkout
480+
uses: actions/checkout@v5
481+
482+
- name: Configure environment
483+
uses: ./.github/actions/configure-environment
484+
485+
- name: Restore caches
486+
id: restore-cache
487+
uses: ./.github/actions/restore-caches
488+
489+
- name: Configure Docker
490+
uses: ./.github/actions/configure-docker
491+
with:
492+
use-cirrus: ${{ needs.runners.outputs.use-cirrus-runners }}
493+
494+
- name: CI script
495+
run: ./ci/test_run_all.sh
496+
497+
- name: Save caches
498+
uses: ./.github/actions/save-caches

0 commit comments

Comments
 (0)