mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 14:48:21 +00:00
Update Coverity Scan GitHub Action
* Remove old Python 2 vs. 3 workaround * Build CAF separately to prevent internal errors in Coverity tools
This commit is contained in:
parent
9d8bab692c
commit
a3f1e6dafa
1 changed files with 7 additions and 8 deletions
15
.github/workflows/coverity-scan.yml
vendored
15
.github/workflows/coverity-scan.yml
vendored
|
@ -35,7 +35,7 @@ jobs:
|
|||
libssl-dev \
|
||||
python3 \
|
||||
python3-dev \
|
||||
python3-pip\
|
||||
python3-pip \
|
||||
swig \
|
||||
zlib1g-dev \
|
||||
libkrb5-dev \
|
||||
|
@ -43,10 +43,12 @@ jobs:
|
|||
sqlite3 \
|
||||
curl \
|
||||
wget
|
||||
# Many distros adhere to PEP 394's recommendation for `python` =
|
||||
# `python2` so this is a simple workaround until we drop Python 2
|
||||
# support and explicitly use `python3` for all invocations.
|
||||
sudo ln -sf /usr/bin/python3 /usr/local/bin/python
|
||||
|
||||
- name: Install CAF
|
||||
run: ( cd auxil/broker/caf && ./configure --prefix=`pwd`/build/install-root && cd build && make -j 3 install )
|
||||
|
||||
- name: Configure
|
||||
run: ./configure --build-type=debug --with-caf=`pwd`/auxil/broker/caf/build/install-root
|
||||
|
||||
- name: Fetch Coverity Tools
|
||||
env:
|
||||
|
@ -60,9 +62,6 @@ jobs:
|
|||
rm coverity_tool.tgz
|
||||
mv cov-analysis* coverity-tools
|
||||
|
||||
- name: Configure
|
||||
run: ./configure --build-type=debug
|
||||
|
||||
- name: Build
|
||||
run: |
|
||||
export PATH=`pwd`/coverity-tools/bin:$PATH
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue