@@ -8,27 +8,39 @@ on:
jobs:
coverity:
- runs-on: ubuntu-22.04
+ runs-on: ubuntu-24.04
steps:
- name: Install build dependencies
run: |
- sudo apt-get install -y wget git gawk \
- libbz2-dev build-essential \
- zlib1g-dev libncurses5-dev iasl \
- libbz2-dev e2fslibs-dev uuid-dev ocaml \
- ocaml-findlib libyajl-dev \
- autoconf libtool liblzma-dev \
- python3-dev golang libsystemd-dev
+ 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@v2
+ - uses: actions/checkout@v4
with:
ref: staging
- name: Configure Xen
run: |
- ./configure --with-system-qemu=/bin/true \
- --with-system-seabios=/bin/true \
- --with-system-ovmf=/bin/true
+ ./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: |
@@ -36,7 +48,7 @@ jobs:
- uses: vapier/coverity-scan-action@v1
with:
- command: make -j`nproc` build-xen build-tools && make -j`nproc` -C extras/mini-os/
+ command: make -j`nproc` build && make -j`nproc` -C extras/mini-os/
project: XenProject
email: ${{ secrets.COVERITY_SCAN_EMAIL }}
token: ${{ secrets.COVERITY_SCAN_TOKEN }}
Update to Ubuntu 24.04, and checkout@v4 as v2 is deprecated. The build step goes out of it's way to exclude docs and stubdom (but include plain MiniOS), so disable those at the ./configure stage and simplify the build step somewhat. Refresh the package list. libbz2-dev was in there twice, and e2fslibs-dev is a a transitional package to libext2fs-dev. I'm not aware of libtool ever having been a Xen dependency. Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com> --- CC: Anthony PERARD <anthony.perard@vates.tech> CC: Juergen Gross <jgross@suse.com> CC: Roger Pau Monné <roger.pau@citrix.com> CC: Jan Beulich <JBeulich@suse.com> CC: Stefano Stabellini <sstabellini@kernel.org> CC: Julien Grall <julien@xen.org> CC: Oleksii Kurochko <oleksii.kurochko@gmail.com> v2: * Simplify the build step too. https://github.com/andyhhp/xen/actions/runs/9840942508/job/27166367683 (manually terminated with an exit 1 because there's no --dry-run mode.) --- .github/workflows/coverity.yml | 38 ++++++++++++++++++++++------------ 1 file changed, 25 insertions(+), 13 deletions(-)