multipath-tools 0.11.0 #79
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: multiarch test for rolling distros | |
on: | |
push: | |
branches: | |
- master | |
- queue | |
- tip | |
paths: | |
- '.github/workflows/multiarch.yaml' | |
- '**.h' | |
- '**.c' | |
- '**Makefile*' | |
- '**.mk' | |
pull_request: | |
branches: | |
- master | |
- queue | |
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-22.04 | |
strategy: | |
fail-fast: false | |
matrix: | |
os: | |
- alpine | |
- debian-sid | |
- fedora-rawhide | |
- opensuse-tumbleweed | |
arch: [amd64, ppc64le, aarch64, s390x, 386, arm/v7] | |
exclude: | |
- os: fedora-rawhide | |
arch: 386 | |
- os: fedora-rawhide | |
arch: arm/v7 | |
steps: | |
- name: checkout | |
uses: actions/checkout@v2 | |
- name: enable foreign arch | |
uses: dbhi/qus/action@main | |
- 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 }}" | |