Skip to content

praise the lord

praise the lord #1

name: Workflow for Executable Targets

Check failure on line 1 in .github/workflows/executable-workflow.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/executable-workflow.yaml

Invalid workflow file

Invalid `steps` value - steps should be list of `uses` or `run` items
on:
workflow_call:
inputs:
target:
description: Executable target
required: true
type: string
sub-targets:
description: Sub-targets
required: false
type: string
env:
ci: 1
DEFAULT_DIRECTORY: ot3-firmware
TARGET: ${{ inputs.target }}
defaults:
run:
shell: bash
working-directory: ot3-firmware
jobs:
cross-compile-check:
name: "Cross-Compile/Check"
runs-on: "ubuntu-20.04"
timeout-minutes: 10
steps:
- name: Checkout github actions directory
uses: actions/checkout@v4
with:
sparse-checkout: |
.github/actions
sparse-checkout-cone-mode: false
path: actions
- name: Setup main
uses: ./actions/.github/actions/main-setup
with:
cache-version: ${{ secrets.CACHE_VERSION }}
- name: Cross-Compile/Check
uses: ./actions/.github/actions/cross-compile-check
# cross-compile-build:
# name: "Cross-Compile/Build"
# needs: cross-compile-check
# strategy:
# matrix:
# build-target: ${{ fromJSON(inputs.sub-targets) }}
# steps:
# uses: ./actions/.github/actions/cross-compile-build
# sub-target: ${{ matrix.build-target || ""}}
host-compile-test:
name: "Host-Compile/Test"
runs-on: "ubuntu-20.04"
timeout-minutes: 10
steps:
- name: Checkout github actions directory
uses: actions/checkout@v4
with:
sparse-checkout: |
.github/actions
sparse-checkout-cone-mode: false
path: actions
- name: Setup main
uses: ./actions/.github/actions/main-setup
with:
cache-version: ${{ secrets.CACHE_VERSION }}
- name: Host-Compile/Test
uses: ./actions/.github/actions/host-compile-test
build-simulator:
name: "Build Simulator"
needs: host-build-test
strategy:
matrix:
build-target: ${{ fromJSON(inputs.sub-targets) }}
steps:
uses: ./actions/.github/actions/cross-compile-build
sub-target: ${{ matrix.build-target || ""}}