File tree Expand file tree Collapse file tree 2 files changed +58
-7
lines changed
Expand file tree Collapse file tree 2 files changed +58
-7
lines changed Original file line number Diff line number Diff line change 1+ name : STM32 Core build using arduino-cli
2+ on :
3+ push :
4+ branches :
5+ - main
6+ paths-ignore :
7+ - .github/**
8+ - ' !.github/workflows/Arduino-build.yml'
9+ - ' *.json'
10+ - ' **.md'
11+ - keywords.txt
12+ - CI/**
13+ - ' !CI/build/arduino-cli.py'
14+ - ' !CI/build/examples/**'
15+ - cmake/**
16+ - tools/**
17+ pull_request :
18+ paths-ignore :
19+ - .github/**
20+ - ' !.github/workflows/Arduino-build.yml'
21+ - ' *.json'
22+ - ' **.md'
23+ - keywords.txt
24+ - CI/**
25+ - ' !CI/build/arduino-cli.py'
26+ - ' !CI/build/examples/**'
27+ - cmake/**
28+ - tools/**
29+ # Allows you to run this workflow manually from the Actions tab
30+ workflow_dispatch :
31+ jobs :
32+ core_build :
33+ runs-on : ubuntu-latest
34+ name : Core compilation
35+ steps :
36+ # First of all, clone the repo using the checkout action.
37+ - name : Checkout
38+ uses : actions/checkout@main
39+
40+ - name : Compilation
41+ id : Compile
42+ uses : stm32duino/actions/compile-examples@main
43+ with :
44+ additional-url : ' https://github.com/stm32duino/BoardManagerFiles/raw/dev/package_stmicroelectronics_index.json'
45+
46+ # Use the output from the `Compile` step
47+ - name : Compilation Errors
48+ if : failure()
49+ run : |
50+ cat ${{ steps.Compile.outputs.compile-result }}
51+ exit 1
Original file line number Diff line number Diff line change 1- name : STM32 Core Continuous Integration
1+ name : PlatformIO build
22on :
33 push :
44 branches :
55 - main
66 paths-ignore :
77 - .github/**
8- - ' !.github/workflows/Continuous-Integration.yml'
8+ - ' !.github/actions/pio-build/**'
9+ - ' !.github/workflows/PIO-build.yml'
910 - ' *.json'
1011 - ' **.md'
1112 - keywords.txt
1213 - CI/**
13- - ' !CI/build/arduino-cli.py'
1414 - ' !CI/build/platformio-builder.py'
15- - ' !CI/build/examples/** '
15+ - cmake/**
1616 - tools/**
1717 - ' !tools/platformio-build.py'
1818 pull_request :
1919 paths-ignore :
2020 - .github/**
21- - ' !.github/workflows/Continuous-Integration.yml'
21+ - ' !.github/actions/pio-build/**'
22+ - ' !.github/workflows/PIO-build.yml'
2223 - ' *.json'
2324 - ' **.md'
2425 - keywords.txt
2526 - CI/**
26- - ' !CI/build/arduino-cli.py'
2727 - ' !CI/build/platformio-builder.py'
28- - ' !CI/build/examples/** '
28+ - cmake/**
2929 - tools/**
3030 - ' !tools/platformio-build.py'
3131 # Allows you to run this workflow manually from the Actions tab
You can’t perform that action at this time.
0 commit comments