File tree Expand file tree Collapse file tree 2 files changed +70
-0
lines changed
Expand file tree Collapse file tree 2 files changed +70
-0
lines changed Original file line number Diff line number Diff line change 1+ name : VL53L7CX Continuous Integration
2+ on :
3+ push :
4+ branches :
5+ - main
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@main
23+
24+ - name : Astyle check
25+ id : Astyle
26+ uses : stm32duino/actions/astyle-check@main
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+ codespell :
35+ name : Check for spelling errors
36+ runs-on : ubuntu-latest
37+ steps :
38+ - name : Checkout
39+ uses : actions/checkout@main
40+
41+ # See: https://github.com/codespell-project/actions-codespell/blob/master/README.md
42+ - name : Spell check
43+ uses : codespell-project/actions-codespell@master
44+ with :
45+ check_filenames : true
46+ check_hidden : true
47+ # In the event of a false positive, add the word in all lower case to this file:
48+ ignore_words_file : ./extras/codespell-ignore-words-list.txt
49+ lib_build :
50+ runs-on : ubuntu-latest
51+ name : Library compilation
52+ steps :
53+
54+ # First of all, clone the repo using the checkout action.
55+ - name : Checkout
56+ uses : actions/checkout@main
57+
58+ - name : Compilation
59+ id : compile
60+ uses : stm32duino/actions/compile-examples@main
61+ with :
62+ board-pattern : " NUCLEO_L476RG"
63+
64+ # Use the output from the `Compilation` step
65+ - name : Compilation Errors
66+ if : failure()
67+ run : |
68+ cat ${{ steps.compile.outputs.compile-result }}
69+ exit 1
Original file line number Diff line number Diff line change 1+ ois
You can’t perform that action at this time.
0 commit comments