Adding support for stm32c011j4m6 (j4/j6XX should be supported but unt… #444
This file contains hidden or 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 Core build using arduino-cli | |
on: | |
push: | |
branches: | |
- main | |
paths-ignore: | |
- .github/** | |
- '!.github/workflows/Arduino-build.yml' | |
- '*.json' | |
- '**.md' | |
- keywords.txt | |
- CI/** | |
- '!CI/build/arduino-cli.py' | |
- '!CI/build/examples/**' | |
- cmake/** | |
- tools/** | |
pull_request: | |
paths-ignore: | |
- .github/** | |
- '!.github/workflows/Arduino-build.yml' | |
- '*.json' | |
- '**.md' | |
- keywords.txt | |
- CI/** | |
- '!CI/build/arduino-cli.py' | |
- '!CI/build/examples/**' | |
- cmake/** | |
- tools/** | |
# Allows you to run this workflow manually from the Actions tab | |
workflow_dispatch: | |
jobs: | |
core_build: | |
runs-on: ubuntu-latest | |
name: Core compilation | |
steps: | |
# First of all, clone the repo using the checkout action. | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Compilation | |
id: Compile | |
uses: stm32duino/actions/compile-examples@v1 | |
with: | |
additional-url: 'https://github.com/stm32duino/BoardManagerFiles/raw/dev/package_stmicroelectronics_index.json' | |
# Use the output from the `Compile` step | |
- name: Compilation Errors | |
if: failure() | |
run: | | |
cat ${{ steps.Compile.outputs.compile-result }} | |
exit 1 |