CI: fix Coverity Scan (#2536)

This commit is contained in:
Surendrajat 2020-12-25 10:54:36 +05:30 committed by GitHub
parent 3bda4c9777
commit 57cd3a733d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,15 +1,15 @@
name: coverity-scan name: coverity-scan
on: on:
schedule: schedule:
- cron: '0 9 * * 1,5' # Bi-weekly at 09:00 UTC on Monday and Thursday - cron: "0 9 * * 1,5" # Bi-weekly at 09:00 UTC on Monday and Thursday
jobs: jobs:
latest: latest:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v1 - uses: actions/checkout@v2
with: with:
submodules: true submodules: recursive
- uses: actions/setup-python@v1 - uses: actions/setup-python@v1
with: with:
python-version: 3.7.x python-version: 3.7.x
@ -26,10 +26,10 @@ jobs:
run: | run: |
chmod go-w $HOME chmod go-w $HOME
sudo chmod -R go-w /usr/share sudo chmod -R go-w /usr/share
- name: apt dependencies - name: apt dependencies
run: sudo apt-get install ninja-build libgraphviz-dev mesa-common-dev run: sudo apt-get install ninja-build libgraphviz-dev mesa-common-dev
- name: py dependencies - name: py dependencies
run: | run: |
pip install meson pip install meson
@ -41,7 +41,7 @@ jobs:
export LD_LIBRARY_PATH="`llvm-config --libdir`:$LD_LIBRARY_PATH" export LD_LIBRARY_PATH="`llvm-config --libdir`:$LD_LIBRARY_PATH"
mkdir build mkdir build
cd build cd build
cmake -DCUTTER_USE_BUNDLED_RADARE2=ON ../src cmake -DCUTTER_USE_BUNDLED_RIZIN=ON ..
- name: Build with cov-build - name: Build with cov-build
run: | run: |