Skip to content

Argh syntx?

Argh syntx? #2

Workflow file for this run

name: build-gimlet
on:
workflow_call:
inputs:
board-set:
description: "Which set to build"
required: true
type: string
os:
description: "OS to build for"
required: true
type: string
jobs:

Check failure on line 14 in .github/workflows/build-boards.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/build-boards.yml

Invalid workflow file

You have an error in your yaml syntax on line 14
build-rot:
if: ${{ inputs.board-set == 'rot' || inputs.board-set == 'all' }}
name: build-rot
strategy:
matrix:
build: [oxide-rot-1, oxide-rot-1-dev]
include:
- build: oxide-rot-1
app_name: oxide-rot-1
app_toml: app/oxide-rot-1/app.toml
target: thumbv8m.main-none-eabihf
image: "a, b"
- build: oxide-rot-1-dev
app_name: oxide-rot-1-dev
app_toml: app/oxide-rot-1/app-dev.toml
target: thumbv8m.main-none-eabihf
image: "a, b"
uses: ./.github/workflows/build-one.yml
with:
build: ${{ matrix.build }}
app_name: ${{ matrix.app_name }}
app_toml: ${{ matrix.app_toml }}
target: ${{ matrix.target }}
image: ${{ matrix.image }}
os: ${{ inputs.os }}
build-gimlet:
if: ${{ inputs.board-set == 'gimlet' || inputs.board-set == 'all' }}
name: build-gimlet
strategy:
matrix:
build: [gimlet-b, gimlet-b-lab, gimlet-b-dev, gimlet-c, gimlet-c-lab, gimlet-c-dev, gimlet-d, gimlet-d-lab, gimlet-d-dev]
include:
- build: gimlet-b
app_name: gimlet-b
app_toml: app/gimlet/rev-b.toml
target: thumbv7em-none-eabihf
image: default
- build: gimlet-b-lab
app_name: gimlet-b-lab
app_toml: app/gimlet/rev-b-lab.toml
target: thumbv7em-none-eabihf
image: default
- build: gimlet-b-dev
app_name: gimlet-b-dev
app_toml: app/gimlet/rev-b-dev.toml
target: thumbv7em-none-eabihf
image: default
- build: gimlet-c
app_name: gimlet-c
app_toml: app/gimlet/rev-c.toml
target: thumbv7em-none-eabihf
image: default
- build: gimlet-c-lab
app_name: gimlet-c-lab
app_toml: app/gimlet/rev-c-lab.toml
target: thumbv7em-none-eabihf
image: default
- build: gimlet-c-dev
app_name: gimlet-c-dev
app_toml: app/gimlet/rev-c-dev.toml
target: thumbv7em-none-eabihf
image: default
- build: gimlet-d
app_name: gimlet-d
app_toml: app/gimlet/rev-d.toml
target: thumbv7em-none-eabihf
image: default
- build: gimlet-d-lab
app_name: gimlet-d-lab
app_toml: app/gimlet/rev-d-lab.toml
target: thumbv7em-none-eabihf
image: default
- build: gimlet-d-dev
app_name: gimlet-d-dev
app_toml: app/gimlet/rev-d-dev.toml
target: thumbv7em-none-eabihf
image: default
uses: ./.github/workflows/build-one.yml
with:
build: ${{ matrix.build }}
app_name: ${{ matrix.app_name }}
app_toml: ${{ matrix.app_toml }}
target: ${{ matrix.target }}
image: ${{ matrix.image }}
os: ${{ inputs.os }}
build-devboards:
if: ${{ inputs.board-set == 'devboards' || inputs.board-set == 'all' }}
name: build-devboards
strategy:
matrix:
build: [stm32f3, stm32f4, lpc55, stm32h743, stm32h753, gemini, rot-carrier, gimletlet, donglet-g031]
include:
- build: stm32g0
app_name: demo-stm32g070-nucleo
app_toml: app/demo-stm32g0-nucleo/app-g070.toml
target: thumbv6m-none-eabi
image: default
- build: stm32f3
app_name: demo-stm32f3-discovery
app_toml: app/demo-stm32f4-discovery/app-f3.toml
target: thumbv7em-none-eabihf
image: default
- build: stm32f4
app_name: demo-stm32f4-discovery
app_toml: app/demo-stm32f4-discovery/app.toml
target: thumbv7em-none-eabihf
image: default
- build: lpc55
app_name: lpc55xpresso
app_toml: app/lpc55xpresso/app.toml
target: thumbv8m.main-none-eabihf
image: "a, b"
- build: stm32h743
app_name: demo-stm32h743-nucleo
app_toml: app/demo-stm32h7-nucleo/app-h743.toml
target: thumbv7em-none-eabihf
image: default
- build: stm32h753
app_name: demo-stm32h753-nucleo
app_toml: app/demo-stm32h7-nucleo/app-h753.toml
target: thumbv7em-none-eabihf
image: default
- build: gemini
app_name: gemini-bu
app_toml: app/gemini-bu/app.toml
target: thumbv7em-none-eabihf
image: default
- build: rot-carrier
app_name: rot-carrier
app_toml: app/rot-carrier/app.toml
target: thumbv8m.main-none-eabihf
image: "a, b"
- build: gimletlet
app_name: gimletlet
app_toml: app/gimletlet/app.toml
target: thumbv7em-none-eabihf
image: default
- build: donglet-g031
app_name: donglet-g031
app_toml: app/donglet/app-g031.toml
target: thumbv6m-none-eabi
image: default
uses: ./.github/workflows/build-one.yml
with:
build: ${{ matrix.build }}
app_name: ${{ matrix.app_name }}
app_toml: ${{ matrix.app_toml }}
target: ${{ matrix.target }}
image: ${{ matrix.image }}
os: ${{ inputs.os }}