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:
Jon Siwek 2020-12-12 09:31:47 -08:00
parent 9d8bab692c
commit a3f1e6dafa

View file

@ -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