Skip to content

GitHub workflows: run arm64 tests on native runner #590

GitHub workflows: run arm64 tests on native runner

GitHub workflows: run arm64 tests on native runner #590

Workflow file for this run

name: multiarch test for rolling distros
on:
push:
branches:
- master
- queue
- tip
- 'stable-*'
paths:
- '.github/workflows/multiarch.yaml'
- '**.h'
- '**.c'
- '**Makefile*'
- '**.mk'
pull_request:
branches:
- master
- queue
- 'stable-*'
paths:
- '.github/workflows/multiarch.yaml'
- '**.h'
- '**.c'
- '**Makefile*'
- '**.mk'
# run monthly to catch rolling distro changes
schedule:
- cron: '45 02 1 * *'
jobs:
build-current:
runs-on: ubuntu-24.04
strategy:
fail-fast: false
matrix:
os:
- alpine
- debian-sid
- fedora-rawhide
- opensuse-tumbleweed
arch: [ppc64le, s390x, 386, arm/v7]
exclude:
- os: fedora-rawhide
arch: 386
- os: fedora-rawhide
arch: arm/v7
include:
- os: alpine
arch: aarch64
steps:
- name: checkout
uses: actions/checkout@v4
- name: enable foreign arch
uses: docker/setup-qemu-action@v2
with:
image: tonistiigi/binfmt:latest
- name: compile and run unit tests
uses: mosteo-actions/docker-run@v1
with:
image: ghcr.io/mwilck/multipath-build-${{ matrix.os }}
guest-dir: /build
host-dir: ${{ github.workspace }}
command: test
params: "--platform linux/${{ matrix.arch }}"
pull-params: "--platform linux/${{ matrix.arch }}"