Skip to content

Commit

Permalink
github: fix coverity build
Browse files Browse the repository at this point in the history
1. install meson (ninja is dependency)
2. run meson setup before ninja build

Signed-off-by: Alexander Mikhalitsyn <[email protected]>
  • Loading branch information
mihalicyn committed Dec 7, 2022
1 parent b16e4ea commit a8dcf88
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/coverity.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
- name: Install dependencies
run: |
sudo apt-get update -qq
sudo apt-get install -qq gcc clang
sudo apt-get install -qq gcc clang meson
sudo apt-get install -qq libapparmor-dev libcap-dev libseccomp-dev libselinux1-dev linux-libc-dev docbook2x libsystemd-dev
- name: Compiler version
Expand All @@ -47,7 +47,7 @@ jobs:
export LDFLAGS="-pthread -lpthread"
BUILD="$(pwd)/build"
ninja -C ${BUILD} -Dtests=true -Dpam-cgroup=true -Dcoverity-build=true
meson setup -Dtests=true -Dpam-cgroup=true -Dcoverity-build=true build/
# Build
cov-build --dir cov-int ninja -C ${BUILD}
Expand Down

0 comments on commit a8dcf88

Please sign in to comment.