mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 02:01:24 +01:00
CI: Refresh the Coverity Github Action configuration
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. 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> Reviewed-by: Roger Pau Monné <roger.pau@citrix.com> Release-Acked-by: Oleksii Kurochko <oleksii.kurochko@gmail.com>
This commit is contained in:
1 parent
64cee18837
commit
c4ebeb79d1
1 file changed
+23
-11
@@ -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 \
|
||||
./configure \
|
||||
--disable-docs \
|
||||
--disable-stubdom \
|
||||
--with-system-qemu=/bin/true \
|
||||
--with-system-seabios=/bin/true \
|
||||
--with-system-ovmf=/bin/true
|
||||
--with-system-ovmf=/bin/true \
|
||||
|
||||
- name: Pre build stuff
|
||||
run: |
|
||||
|
||||