-
Notifications
You must be signed in to change notification settings - Fork 0
54 lines (48 loc) · 1.3 KB
/
coverity.yml
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
name: Coverity Scan
# We only want to test official release code, not every pull request.
on:
workflow_dispatch:
schedule:
- cron: '18 9 * * WED,SUN' # Bi-weekly at 9:18 UTC
jobs:
coverity:
runs-on: ubuntu-24.04
steps:
- name: Install build dependencies
run: |
sudo apt-get install -y \
build-essential \
git-core \
golang \
iasl \
libbz2-dev \
libext2fs-dev \
liblzma-dev \
libncurses5-dev \
libyajl-dev \
libzstd-dev \
ocaml \
ocaml-findlib \
python3-dev \
uuid-dev \
zlib1g-dev \
- uses: actions/checkout@v4
with:
ref: staging
- name: Configure Xen
run: |
./configure \
--disable-docs \
--disable-stubdom \
--with-system-qemu=/bin/true \
--with-system-seabios=/bin/true \
--with-system-ovmf=/bin/true \
- name: Pre build stuff
run: |
make -j`nproc` mini-os-dir
- uses: vapier/coverity-scan-action@v1
with:
command: make -j`nproc` build-xen build-tools && make -j`nproc` -C extras/mini-os/
project: XenProject
email: ${{ secrets.COVERITY_SCAN_EMAIL }}
token: ${{ secrets.COVERITY_SCAN_TOKEN }}