aboutsummaryrefslogtreecommitdiffstats
path: root/.github/workflows/coverity.yml
diff options
context:
space:
mode:
authorPetr Štetiar <ynezz@true.cz>2023-01-30 08:33:16 +0100
committerChristian Marangi <ansuelsmth@gmail.com>2023-04-26 17:24:50 +0200
commit9a2666951051f8072ba83f0535e1534ea0dbf6aa (patch)
treea390150ee593a61cd2481bb2da0b80ec351bd7e7 /.github/workflows/coverity.yml
parent8f427f1a058dd5dcff21246a9a6d91318f55f80a (diff)
downloadupstream-9a2666951051f8072ba83f0535e1534ea0dbf6aa.tar.gz
upstream-9a2666951051f8072ba83f0535e1534ea0dbf6aa.tar.bz2
upstream-9a2666951051f8072ba83f0535e1534ea0dbf6aa.zip
ci: add Coverity Scan scheduled workflow
Coverity Scan is a static code analysis service focused on open source software quality and security, so lets scan various OpenWrt components every Friday for the start. Signed-off-by: Petr Štetiar <ynezz@true.cz>
Diffstat (limited to '.github/workflows/coverity.yml')
-rw-r--r--.github/workflows/coverity.yml64
1 files changed, 64 insertions, 0 deletions
diff --git a/.github/workflows/coverity.yml b/.github/workflows/coverity.yml
new file mode 100644
index 0000000000..db628d05ee
--- /dev/null
+++ b/.github/workflows/coverity.yml
@@ -0,0 +1,64 @@
+name: Coverity scan build
+
+on:
+ schedule:
+ - cron: '30 2 * * 6'
+
+concurrency:
+ group: ${{ github.workflow }}-${{ github.ref }}
+
+jobs:
+ coverity_build:
+ name: Coverity x86/64 build
+ secrets:
+ coverity_api_token: ${{ secrets.COVERITY_API_TOKEN }}
+ permissions:
+ contents: read
+ packages: read
+ uses: ./.github/workflows/build.yml
+ with:
+ target: x86/64
+ build_full: true
+ include_feeds: true
+ coverity_compiler_template_list: >-
+ x86_64-openwrt-linux-gcc
+ x86_64-openwrt-linux-musl-gcc
+ # qosify fails to build with cov-build
+ coverity_check_packages: >-
+ cgi-io
+ dnsmasq
+ dropbear
+ firewall
+ fstools
+ fwtool
+ iwinfo
+ jsonfilter
+ libnl-tiny
+ libubox
+ mtd
+ netifd
+ odhcp6c
+ odhcpd
+ opkg
+ procd
+ relayd
+ rpcd
+ swconfig
+ ubox
+ ubus
+ ucert
+ uci
+ uclient
+ ucode
+ ugps
+ uhttpd
+ umbim
+ umdns
+ unetd
+ uqmi
+ urngd
+ usbmode
+ usign
+ usteer
+ ustp
+ ustream-ssl