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 : " Coverity"
2+
3+ on :
4+ schedule :
5+ # Run workflow every Sunday
6+ - cron : " 00 0 * * 0"
7+ workflow_dispatch :
8+ push :
9+
10+ jobs :
11+ coverity :
12+ runs-on : ubuntu-24.04
13+ container : golioth/golioth-coverity-base:89df175
14+
15+ steps :
16+ - uses : actions/checkout@v4
17+ with :
18+ path : bluetooth-gateway
19+ - name : Init and update west
20+ run : |
21+ west init -l bluetooth-gateway --mf west-zephyr.yml
22+ west update --narrow -o=--depth=1
23+ west blobs fetch hal_nxp
24+ - name : Install pip packages
25+ run : |
26+ uv pip install \
27+ -r zephyr/scripts/requirements-base.txt
28+
29+ uv pip install \
30+ cryptography==41.0.7 \
31+ pyasn1 \
32+ pyyaml \
33+ cbor>=1.0.0 \
34+ imgtool>=1.9.0 \
35+ jinja2 \
36+ click
37+ - run : |
38+ /opt/toolchains/coverity/bin/cov-configure --comptype gcc \
39+ --compiler /opt/toolchains/zephyr-sdk-0.17.0/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc
40+ /opt/toolchains/coverity/bin/cov-build --dir cov-int \
41+ west build -p -b frdm_rw612 bluetooth-gateway/gateway \
42+ -- -DCONFIG_LOG=n
43+ tar czvf gateway.tgz cov-int
44+ curl --form token=${{ secrets.BLUETOOTH_GATEWAY_COVERITY_TOKEN }} \
45+ --form email=sam@golioth.io \
46+ --form file=@gateway.tgz \
47+ --form version="0" \
48+ --form description="Description" \
49+ https://scan.coverity.com/builds?project=golioth%2Fbluetooth-gateway
50+ - uses : actions/upload-artifact@v4
51+ with :
52+ name : coverity_output
53+ path : gateway.tgz
You can’t perform that action at this time.
0 commit comments