ci: rework docker jobs #119
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: arm Toolchain | |
on: [push, pull_request, workflow_dispatch] | |
# Building using the github runner environement directly. | |
jobs: | |
arm: | |
strategy: | |
matrix: | |
targets: [ | |
# https://go.dev/doc/install/source#environment | |
arm, # alias to armv7-eabihf | |
armeb, # alias to armv7eb-eabihf | |
armv7-eabihf, # bootlin | |
armebv7-eabihf #bootlin | |
] | |
fail-fast: false | |
name: Linux • Toolchain ${{ matrix.targets }} | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Build env stage | |
run: make --directory=ci ${{ matrix.targets }}_env | |
- name: Build devel stage | |
run: make --directory=ci ${{ matrix.targets }}_devel | |
- name: Build toolchain stage | |
run: make --directory=ci ${{ matrix.targets }}_toolchain | |
- name: Build build stage | |
run: make --directory=ci ${{ matrix.targets }}_build | |
- name: Build Test stage | |
run: make --directory=ci ${{ matrix.targets }}_test |