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 eb9224a commit 53b1649
Showing 1 changed file with 12 additions and 14 deletions.
26 changes: 12 additions & 14 deletions .github/workflows/coverity.yml
Original file line number Diff line number Diff line change
Expand Up @@ -98,23 +98,21 @@ jobs:
mkdir build
cd build
cmake -DBUILD_FEM_NETGEN=ON -DFREECAD_USE_PYBIND11=ON ../
cov-build --dir cov-int --no-command --fs-capture-search ../src
cov-build --dir cov-int --fs-capture-search ../src make -j$(nproc)
- name: Submit to Coverity Scan
run: |
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 53b1649

Please sign in to comment.