Skip to content

Commit

Permalink
Argh syntx?
Browse files Browse the repository at this point in the history
  • Loading branch information
labbott committed Aug 10, 2023
1 parent 2718983 commit cf363ae
Showing 1 changed file with 1 addition and 83 deletions.
84 changes: 1 addition & 83 deletions .github/workflows/build-boards.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,91 +9,9 @@ on:
os:
description: "OS to build for"
required: true
type: string
type: string

jobs:
build-sidecar:
if: ${{ inputs.board-set == 'sidecar' || inputs.board-set == 'all' }}
name: build-sidecar
strategy:
matrix:
build: [sidecar-b, sidecar-b-lab, sidecar-b-dev, sidecar-c, sidecar-c-lab, sidecar-c-dev]
include:
- build: sidecar-b
app_name: sidecar-b
app_toml: app/sidecar/rev-b.toml
target: thumbv7em-none-eabihf
image: default
- build: sidecar-b-lab
app_name: sidecar-b-lab
app_toml: app/sidecar/rev-b-lab.toml
target: thumbv7em-none-eabihf
image: default
- build: sidecar-b-dev
app_name: sidecar-b-dev
app_toml: app/sidecar/rev-b-dev.toml
target: thumbv7em-none-eabihf
image: default
- build: sidecar-c
app_name: sidecar-c
app_toml: app/sidecar/rev-c.toml
target: thumbv7em-none-eabihf
image: default
- build: sidecar-c-lab
app_name: sidecar-c-lab
app_toml: app/sidecar/rev-c-lab.toml
target: thumbv7em-none-eabihf
image: default
- build: sidecar-c-dev
app_name: sidecar-c-dev
app_toml: app/sidecar/rev-c-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-psc:
if: ${{ inputs.board-set == 'psc' || inputs.board-set == 'all' }}
name: build-psc
strategy:
matrix:
build: [psc-b, psc-b-dev, psc-c, psc-c-dev]
include:
- build: psc-b
app_name: psc-b
app_toml: app/psc/rev-b.toml
target: thumbv7em-none-eabihf
image: default
- build: psc-b-dev
app_name: psc-b-dev
app_toml: app/psc/rev-b-dev.toml
target: thumbv7em-none-eabihf
image: default
- build: psc-c
app_name: psc-c
app_toml: app/psc/rev-c.toml
target: thumbv7em-none-eabihf
image: default
- build: psc-c-dev
app_name: psc-c-dev
app_toml: app/psc/rev-c-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-rot:
if: ${{ inputs.board-set == 'rot' || inputs.board-set == 'all' }}
name: build-rot
Expand Down

0 comments on commit cf363ae

Please sign in to comment.