feat: provide default functions only if requested #27
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: STM32 FreeRTOS Continuous Integration | |
on: | |
push: | |
branches: | |
- main | |
paths-ignore: | |
- '*' | |
- '**.md' | |
- '**.txt' | |
pull_request: | |
paths-ignore: | |
- '*' | |
- '**.md' | |
- '**.txt' | |
jobs: | |
lib_build: | |
runs-on: ubuntu-latest | |
name: Library compilation | |
steps: | |
# First of all, clone the repo using the checkout action. | |
- name: Checkout | |
uses: actions/checkout@main | |
- name: Compilation | |
id: Compile | |
uses: stm32duino/actions/compile-examples@main | |
with: | |
board-pattern: "NUCLEO_(F091RC|F103RB|F303RE|F429ZI|F767ZI|G071RB|G474RE|H743ZI2|L073RZ|L152RE|L476RG|L552ZE|U575ZI|WB55RG|WL55JC1)" | |
libraries: "SD" | |
example-pattern: "fr[Blink|Fifo]" | |
# Use the output from the `Compile` step | |
- name: Compilation Errors | |
if: failure() | |
run: | | |
cat ${{ steps.Compile.outputs.compile-result }} | |
exit 1 |