ci: enable armhf build test #475
Workflow file for this run
This file contains hidden or 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: Linux | |
| on: | |
| push: | |
| pull_request: | |
| concurrency: | |
| group: ${{ github.head_ref || github.sha }}-${{ github.workflow }} | |
| cancel-in-progress: true | |
| jobs: | |
| build: | |
| name: Build & Test | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| include: | |
| - dockerfile: v1.19/debian | |
| - dockerfile: v1.19/arm64/debian | |
| - dockerfile: v1.19/armhf/debian | |
| runs-on: >- | |
| ${{ (contains(matrix.dockerfile, 'arm64')) && 'ubuntu-24.04-arm' || 'ubuntu-latest' }} | |
| steps: | |
| - uses: actions/checkout@master | |
| - name: Setup | |
| if: ${{ (contains(matrix.dockerfile, 'armhf')) }} | |
| run: | | |
| sudo apt install -y qemu-user-binfmt binfmt-support | |
| sudo dpkg --add-architecture armhf | |
| - name: Build | |
| run: make image DOCKERFILE=${{ matrix.dockerfile }} VERSION=test | |
| - name: Test | |
| run: make test DOCKERFILE=${{ matrix.dockerfile }} VERSION=test |