mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-21 14:37:57 +00:00
b79ed14dd1
Instead of referring to a redundant job and ENV variables, rework build
workflow to accept and require split target and subtarget and use them
directly from inputs.
Rework each user and pass a JSON of tuple to matrix include with each
target/subtarget combination to test. Special notice this doesn't use
the github actions matrix combination feature but reference each
specific tuple of target and subtarget to test.
Just a cleanup no behaviour change intended.
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
(cherry picked from commit eecc6e4811
)
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
66 lines
1.2 KiB
YAML
66 lines
1.2 KiB
YAML
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
|
|
subtarget: 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
|