mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
.github/tools-buildtest: factorize and parallelize using matrix strategy
This commit is contained in:
parent
e35c7adb73
commit
15144fc10b
101
.github/workflows/tools-buildtest.yml
vendored
101
.github/workflows/tools-buildtest.yml
vendored
@ -15,69 +15,46 @@ on:
|
|||||||
jobs:
|
jobs:
|
||||||
tools-build:
|
tools-build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
strategy:
|
||||||
|
fail-fast: false
|
||||||
|
max-parallel: 16
|
||||||
|
matrix:
|
||||||
|
tools: # List of tools sorted by name in alphabetical order
|
||||||
|
- name: benchmark_udp
|
||||||
|
path: dist/tools
|
||||||
|
- name: bossa-1.8
|
||||||
|
path: dist/tools
|
||||||
|
- name: bossa-1.9
|
||||||
|
path: dist/tools
|
||||||
|
- name: bossa-nrf52
|
||||||
|
path: dist/tools
|
||||||
|
- name: calc_spi_scalers
|
||||||
|
path: cpu/kinetis/dist
|
||||||
|
- name: clk_conf
|
||||||
|
path: cpu/stm32/dist
|
||||||
|
- name: edbg
|
||||||
|
path: dist/tools
|
||||||
|
- name: ethos
|
||||||
|
path: dist/tools
|
||||||
|
- name: fixdep
|
||||||
|
path: dist/tools
|
||||||
|
- name: flatc
|
||||||
|
path: dist/tools
|
||||||
|
- name: lpc2k_pgm
|
||||||
|
path: dist/tools
|
||||||
|
- name: mosquitto_rsmb
|
||||||
|
path: dist/tools
|
||||||
|
- name: riotboot_serial
|
||||||
|
path: dist/tools
|
||||||
|
- name: setsid
|
||||||
|
path: dist/tools
|
||||||
|
- name: uhcpd
|
||||||
|
path: dist/tools
|
||||||
|
- name: zep_dispatch
|
||||||
|
path: dist/tools
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@main
|
- uses: actions/checkout@main
|
||||||
- name: Build flatc standalone
|
- name: Build ${{ matrix.tools.name }} in ${{ matrix.tools.path }}
|
||||||
uses: aabadie/riot-action@main
|
uses: aabadie/riot-action@main
|
||||||
with:
|
with:
|
||||||
cmd: make -C dist/tools/flatc
|
cmd: make -C ${{ matrix.tools.path }}/${{ matrix.tools.name }}
|
||||||
- name: Build mosquitto_rsmb standalone
|
|
||||||
uses: aabadie/riot-action@main
|
|
||||||
with:
|
|
||||||
cmd: make -C dist/tools/mosquitto_rsmb
|
|
||||||
- name: Build bossa-1.8 standalone
|
|
||||||
uses: aabadie/riot-action@main
|
|
||||||
with:
|
|
||||||
cmd: make -C dist/tools/bossa-1.8
|
|
||||||
- name: Build bossa-1.9 standalone
|
|
||||||
uses: aabadie/riot-action@main
|
|
||||||
with:
|
|
||||||
cmd: make -C dist/tools/bossa-1.9
|
|
||||||
- name: Build bossa-nrf52 standalone
|
|
||||||
uses: aabadie/riot-action@main
|
|
||||||
with:
|
|
||||||
cmd: make -C dist/tools/bossa-nrf52
|
|
||||||
- name: Build edbg standalone
|
|
||||||
uses: aabadie/riot-action@main
|
|
||||||
with:
|
|
||||||
cmd: make -C dist/tools/edbg
|
|
||||||
- name: Build setsid standalone
|
|
||||||
uses: aabadie/riot-action@main
|
|
||||||
with:
|
|
||||||
cmd: make -C dist/tools/setsid
|
|
||||||
- name: Build ethos
|
|
||||||
uses: aabadie/riot-action@main
|
|
||||||
with:
|
|
||||||
cmd: make -C dist/tools/ethos
|
|
||||||
- name: Build uhcpd
|
|
||||||
uses: aabadie/riot-action@main
|
|
||||||
with:
|
|
||||||
cmd: make -C dist/tools/uhcpd
|
|
||||||
- name: Build UDP Benchmark
|
|
||||||
uses: aabadie/riot-action@main
|
|
||||||
with:
|
|
||||||
cmd: make -C dist/tools/benchmark_udp
|
|
||||||
- name: Build stm32 clk_conf
|
|
||||||
uses: aabadie/riot-action@main
|
|
||||||
with:
|
|
||||||
cmd: make -C cpu/stm32/dist/clk_conf
|
|
||||||
- name: Build kinetis calc_spi_scalers
|
|
||||||
uses: aabadie/riot-action@main
|
|
||||||
with:
|
|
||||||
cmd: make -C cpu/kinetis/dist/calc_spi_scalers
|
|
||||||
- name: Build fixdep tool
|
|
||||||
uses: aabadie/riot-action@main
|
|
||||||
with:
|
|
||||||
cmd: make -C dist/tools/fixdep
|
|
||||||
- name: Build lpc2k_pgm tool
|
|
||||||
uses: aabadie/riot-action@main
|
|
||||||
with:
|
|
||||||
cmd: make -C dist/tools/lpc2k_pgm
|
|
||||||
- name: Build riotboot_serial tool
|
|
||||||
uses: aabadie/riot-action@main
|
|
||||||
with:
|
|
||||||
cmd: make -C dist/tools/riotboot_serial
|
|
||||||
- name: Build ZEP dispatcher & topology generator
|
|
||||||
uses: aabadie/riot-action@main
|
|
||||||
with:
|
|
||||||
cmd: make -C dist/tools/zep_dispatch
|
|
||||||
|
Loading…
Reference in New Issue
Block a user