Skip to content
name: "Build and test all cmake targets"
on:
pull_request:
push:
branches:
- "*"
workflow_dispatch:
jobs:
non-executable-workflow:
strategy:
matrix:
target: [can, common, eeprom, i2c, motor-control, sensors, spi]
name: ${{ matrix.target }} Build/Test
uses: ./.github/workflows/non-executable-workflow.yaml
with:
target: ${{ matrix.target }}
secrets: inherit
executable-workflow:
strategy:
matrix:
include:
- target: head
- target: gantry
- target: gripper
subtarget: '["x", "y"]'
- target: pipettes
subtarget: '["single", "multi", "96"]'
name: ${{ matrix.target }} Build/Test
uses: ./.github/workflows/executable-workflow.yaml

Check failure on line 31 in .github/workflows/build-cmake-targets.yaml

View workflow run for this annotation

GitHub Actions / Build and test all cmake targets

Invalid workflow file

The workflow is not valid. In .github/workflows/build-cmake-targets.yaml (Line: 31, Col: 11): Error from called workflow Opentrons/ot3-firmware/.github/workflows/executable-workflow.yaml@43d728a0a24a637f243719aba387dae500d85792 (Line: 79, Col: 21): Unexpected symbol: '""'. Located at position 30 within expression: fromJSON(inputs.subtarget || "") In .github/workflows/build-cmake-targets.yaml (Line: 31, Col: 11): Error from called workflow Opentrons/ot3-firmware/.github/workflows/executable-workflow.yaml@43d728a0a24a637f243719aba387dae500d85792 (Line: 79, Col: 21): Unexpected value '${{ fromJSON(inputs.subtarget || "") }}'
with:
target: ${{ matrix.target }}
subtarget: ${{ matrix.subtarget }}
secrets: inherit