File tree Expand file tree Collapse file tree 1 file changed +48
-0
lines changed Expand file tree Collapse file tree 1 file changed +48
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Arduino Library CI
2
+
3
+ on : [pull_request, push, repository_dispatch]
4
+
5
+ jobs :
6
+ build :
7
+ strategy :
8
+ fail-fast : false
9
+ matrix :
10
+ arduino-platform : ["uno", "cpx_ada", "pyportal"]
11
+
12
+ runs-on : ubuntu-latest
13
+
14
+ steps :
15
+ - uses : actions/setup-python@v1
16
+ with :
17
+ python-version : ' 3.x'
18
+ - uses : actions/checkout@v2
19
+ - uses : actions/checkout@v2
20
+ with :
21
+ repository : adafruit/ci-arduino
22
+ path : ci
23
+
24
+ - name : pre-install
25
+ run : bash ci/actions_install.sh
26
+
27
+ - name : test platforms
28
+ run : python3 ci/build_platform.py ${{ matrix.arduino-platform }}
29
+
30
+ clang_and_doxy :
31
+ runs-on : ubuntu-latest
32
+ needs : build
33
+ steps :
34
+ - uses : actions/setup-python@v1
35
+ with :
36
+ python-version : ' 3.x'
37
+ - uses : actions/checkout@v2
38
+
39
+ - uses : actions/checkout@v2
40
+ with :
41
+ repository : adafruit/ci-arduino
42
+ path : ci
43
+
44
+ - name : pre-install
45
+ run : bash ci/actions_install.sh
46
+
47
+ - name : clang
48
+ run : python3 ci/run-clang-format.py -e "ci/*" -e "bin/*" -r .
You can’t perform that action at this time.
0 commit comments