File tree 2 files changed +37
-5
lines changed
2 files changed +37
-5
lines changed Original file line number Diff line number Diff line change 5
5
- master
6
6
7
7
jobs :
8
- c-check :
9
- uses : sensirion/.github/.github/workflows/driver.c.check.yml@main
10
- with :
11
- examples : ' ["examples/raspberry-pi"]'
8
+ code-analysis :
9
+ runs-on : " ubuntu-22.04"
10
+ steps :
11
+ - uses : actions/checkout@v4
12
+ - uses : awalsh128/cache-apt-pkgs-action@v1
13
+ with :
14
+ packages : cppcheck clang-format
15
+ version : 1.0
16
+ - name : clang-format syntax-check
17
+ run : find . -type f -iregex ".*\.\(c\|h\|cpp\|ino\)" -exec clang-format -i -style=file {} \; && git diff --exit-code
18
+
19
+ raspi-source-dist :
20
+ runs-on : " ubuntu-22.04"
21
+ steps :
22
+ - uses : actions/checkout@v4
23
+ - name : runbuild
24
+ run : cd examples/raspberry-pi && make
25
+ - uses : actions/upload-artifact@v4
26
+ with :
27
+ name : raspi-source-dist
28
+ path : examples/raspberry-pi/*
29
+ if-no-files-found : error
30
+ build-examples :
31
+ runs-on : " ubuntu-22.04"
32
+ needs : raspi-source-dist
33
+ steps :
34
+ - uses : actions/checkout@v4
35
+ - uses : actions/download-artifact@v4
36
+ with :
37
+ name : raspi-source-dist
38
+ path : examples/raspberry-pi/build-test
39
+ - name : runbuild
40
+ run : |
41
+ cd examples/raspberry-pi/build-test
42
+ make algorithm_example_usage
43
+ make low_power_example
Original file line number Diff line number Diff line change @@ -136,7 +136,7 @@ jobs:
136
136
- name : Build documentation
137
137
run : cd ./docs && make html
138
138
- name : Upload html
139
- uses : actions/upload-pages-artifact@v1
139
+ uses : actions/upload-pages-artifact@v4
140
140
with :
141
141
path : python-wrapper/docs/_build/html
142
142
deploy_pages :
You can’t perform that action at this time.
0 commit comments