File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : STM32LowPower 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+ libraries : " STM32duino RTC"
56+
57+ # Use the output from the `Compile` step
58+ - name : Compilation Errors
59+ if : failure()
60+ run : |
61+ cat ${{ steps.Compile.outputs.compile-result }}
62+ exit 1
Original file line number Diff line number Diff line change 4343
4444// Check if PWR HAL enable in variants/board_name/stm32yzxx_hal_conf.h
4545#ifndef HAL_PWR_MODULE_ENABLED
46- #error "PWR configuration is missing. Check flag HAL_PWR_MODULE_ENABLED in variants/board_name/stm32yzxx_hal_conf.h"
46+ #error "PWR configuration is missing. Check flag HAL_PWR_MODULE_ENABLED in variants/board_name/stm32yzxx_hal_conf.h"
4747#endif
4848
4949#include " STM32RTC.h"
You can’t perform that action at this time.
0 commit comments