Builds examples with the STM32duino core.
Pattern to build one or more board(s). Default ""
to build all boards defined for CI.
The version of arduino-cli to use. Default "1.0.1"
.
List of library dependencies to install (comma separated). Default ""
.
Additional URL for the board manager. Default "https://github.com/stm32duino/BoardManagerFiles/raw/main/package_stmicroelectronics_index.json"
.
Pattern to build one or more example(s). Default ""
to build all examples found.
JSON file containing the build configuration. Default ""
to use default configuration.
File name of the Compile result.
uses: stm32duino/actions/compile-examples@main
with:
board-pattern: 'NUCLEO_F103RB|NUCLEO_H743ZI'
cli-version: '0.18.0'
libraries: 'STM32duino LSM6DS0, STM32duino LSM6DS3, STM32duino LIS3MDL, STM32duino HTS221, STM32duino LPS25HB'
additional-url: 'https://github.com/stm32duino/BoardManagerFiles/raw/dev/STM32/package_stm_index.json'
example-pattern: '[Blink|Analog]'
- name: Compilation Errors
if: failure()
run: |
cat ${{ steps.Compile.outputs.compile-result }}
exit 1