Skip to content

fix blink compilation in cloud #18

fix blink compilation in cloud

fix blink compilation in cloud #18

# name of the job
name: Compile blink
# specify which paths to watch for changes
on:
push:
paths:
- 'examples/blink/*'
- .github/workflows/compile.yaml
- .github/workflows/compile-blink.yaml
# run compile via the compile.yaml
jobs:
compile:
strategy:
fail-fast: false
matrix:
# CHANGE program/lib/aux as needed
program:
- src: 'examples/blink/src'
lib: ''
aux: ''
# CHANGE platforms as needed
platform:
- {name: 'p2', version: '6.3.2'}
- {name: 'photon', version: '2.3.1'}
- {name: 'argon', version: '4.2.0'}
# program name
name: ${{ matrix.program.src }}-${{ matrix.platform.name }}-${{ matrix.platform.version }}
# workflow call
uses: ./.github/workflows/compile.yaml

Check failure on line 33 in .github/workflows/compile-blink.yaml

View workflow run for this annotation

GitHub Actions / Compile blink

Invalid workflow file

The workflow is not valid. .github/workflows/compile-blink.yaml (Line: 33, Col: 11): Input program is required, but not provided while calling.
secrets: inherit
with:
platform: ${{ matrix.platform.name }}
version: ${{ matrix.platform.version }}
src: ${{ matrix.program.src }}
lib: ${{ matrix.program.lib }}
aux: ${{ matrix.program.aux }}