forked from LBCrion/sfwbar
-
Notifications
You must be signed in to change notification settings - Fork 0
25 lines (22 loc) · 764 Bytes
/
Copy pathcoverity.yml
File metadata and controls
25 lines (22 loc) · 764 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# GitHub actions workflow.
# https://docs.github.com/en/actions/learn-github-actions/workflow-syntax-for-github-actions
# https://scan.coverity.com/projects/openrc-openrc
name: Coverity Scan
on:
push:
branches: [main]
jobs:
coverity:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v2
- run: sudo apt-get update
- run: sudo apt-get -y install libgtk-3-dev meson libgtk-layer-shell-dev libjson-c-dev libmpdclient-dev libpulse-dev
- run: meson setup builddir/ -Dpulse=enabled -Dmpd=enabled -Dnetwork=enabled
env:
CC: gcc
- uses: vapier/coverity-scan-action@v1
with:
command: ninja -C builddir
email: ${{ secrets.COVERITY_SCAN_EMAIL }}
token: ${{ secrets.COVERITY_SCAN_TOKEN }}