Skip to content

Commit

Permalink
Update coverity.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
sasobadovinac authored Nov 2, 2024
1 parent 5b9a484 commit eb9224a
Showing 1 changed file with 15 additions and 13 deletions.
28 changes: 15 additions & 13 deletions .github/workflows/coverity.yml
Original file line number Diff line number Diff line change
Expand Up @@ -98,21 +98,23 @@ jobs:
mkdir build
cd build
cmake -DBUILD_FEM_NETGEN=ON -DFREECAD_USE_PYBIND11=ON ../
cov-build --dir cov-int --fs-capture-search ../src make -j$(nproc)
cov-build --dir cov-int --no-command --fs-capture-search ../src
- name: Submit to Coverity Scan
run: |
tar czvf project.tgz cov-int
tar czvf project.tgz build/cov-int
FILE_SIZE=$(stat -f %z project.tgz || stat -c %s project.tgz)
echo "Archive size: $FILE_SIZE bytes"
curl \
--fail \
--retry 3 \
--retry-delay 1 \
--progress-bar \
--form token=${{ secrets.COV_TOKEN }} \
--form email=${{ secrets.COV_EMAIL }} \
--form file=@project.tgz \
--form version="1.1.0dev.39100" \
--form description="8865450a3e14220925e0e449c0f1f79056b4fb89" \
https://scan.coverity.com/builds?project=${{ secrets.COV_PROJECT }}
#curl \
# --fail \
# --retry 3 \
# --retry-delay 1 \
# --progress-bar \
# --form token=${{ secrets.COV_TOKEN }} \
# --form email=${{ secrets.COV_EMAIL }} \
# --form file=@project.tgz \
# --form version="1.1.0dev.39100" \
# --form description="8865450a3e14220925e0e449c0f1f79056b4fb89" \
# https://scan.coverity.com/builds?project=${{ secrets.COV_PROJECT }}

0 comments on commit eb9224a

Please sign in to comment.