File tree Expand file tree Collapse file tree 1 file changed +39
-0
lines changed Expand file tree Collapse file tree 1 file changed +39
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : STM32 Core Continuous Integration
2
+ on : [push, pull_request]
3
+ jobs :
4
+ astyle_check :
5
+ runs-on : ubuntu-latest
6
+ name : AStyle check
7
+ steps :
8
+ # First of all, clone the repo using the checkout action.
9
+ - name : Checkout
10
+ uses : actions/checkout@master
11
+
12
+ - name : Astyle check
13
+ id : Astyle
14
+ uses : stm32duino/actions/astyle-check@master
15
+
16
+ # Use the output from the `Astyle` step
17
+ - name : Astyle Errors
18
+ if : failure()
19
+ run : |
20
+ cat ${{ steps.Astyle.outputs.astyle-result }}
21
+ exit 1
22
+ core_build :
23
+ runs-on : ubuntu-latest
24
+ name : Core compilation
25
+ steps :
26
+ # First of all, clone the repo using the checkout action.
27
+ - name : Checkout
28
+ uses : actions/checkout@master
29
+
30
+ - name : Compilation
31
+ id : Compile
32
+ uses : stm32duino/actions/compile-examples@master
33
+
34
+ # Use the output from the `Compile` step
35
+ - name : Compilation Errors
36
+ if : failure()
37
+ run : |
38
+ cat ${{ steps.Compile.outputs.compile-result }}
39
+ exit 1
You can’t perform that action at this time.
0 commit comments