File tree Expand file tree Collapse file tree 1 file changed +61
-0
lines changed Expand file tree Collapse file tree 1 file changed +61
-0
lines changed Original file line number Diff line number Diff line change 1+ name : STM32RTC Continuous Integration
2+ on :
3+ push :
4+ branches :
5+ - master
6+ paths-ignore :
7+ - ' *'
8+ - ' **.md'
9+ - ' **.txt'
10+ pull_request :
11+ paths-ignore :
12+ - ' *'
13+ - ' **.md'
14+ - ' **.txt'
15+ jobs :
16+ astyle_check :
17+ runs-on : ubuntu-latest
18+ name : AStyle check
19+ steps :
20+ # First of all, clone the repo using the checkout action.
21+ - name : Checkout
22+ uses : actions/checkout@master
23+
24+ - name : Astyle check
25+ id : Astyle
26+ uses : stm32duino/actions/astyle-check@master
27+
28+ # Use the output from the `Astyle` step
29+ - name : Astyle Errors
30+ if : failure()
31+ run : |
32+ cat ${{ steps.Astyle.outputs.astyle-result }}
33+ exit 1
34+ spell-check :
35+ runs-on : ubuntu-latest
36+ name : Spell check
37+ steps :
38+ - uses : actions/checkout@master
39+ - uses : arduino/actions/libraries/spell-check@master
40+ # with:
41+ # ignore-words-list: "./extras/codespell-ignore-words-list.txt"
42+ lib_build :
43+ runs-on : ubuntu-latest
44+ name : Library compilation
45+ steps :
46+ # First of all, clone the repo using the checkout action.
47+ - name : Checkout
48+ uses : actions/checkout@master
49+
50+ - name : Compilation
51+ id : Compile
52+ uses : stm32duino/actions/compile-examples@master
53+ with :
54+ board-pattern : " .*NUCLEO.*"
55+
56+ # Use the output from the `Compile` step
57+ - name : Compilation Errors
58+ if : failure()
59+ run : |
60+ cat ${{ steps.Compile.outputs.compile-result }}
61+ exit 1
You can’t perform that action at this time.
0 commit comments