cppzmq icon indicating copy to clipboard operation
cppzmq copied to clipboard

Add curve functions wrappers

Open cacharle opened this issue 1 month ago • 3 comments

Fixes #670

cacharle avatar Dec 09 '25 17:12 cacharle

Not sure why the CI is failing

cacharle avatar Dec 09 '25 18:12 cacharle

Could you try bumping the C++ version of the gcc-9 test to gcc-11?

gummif avatar Dec 10 '25 09:12 gummif

I think I addressed all of your comments, the CI is still failing tho :thinking:

cacharle avatar Dec 13 '25 16:12 cacharle

Ok looks good. Just need to figure out this CI issue.

gummif avatar Dec 15 '25 09:12 gummif

Other PRs have failing CI aswell, probably some dependency wasn't fixed

cacharle avatar Dec 15 '25 10:12 cacharle

Need to build libzmq with ENABLE_CURVE (in matrix?), fix the lcov error, add libsodium and clean the git history from all the CI commits

cacharle avatar Dec 18 '25 00:12 cacharle

Only failure left is the coverage where it seems there is different versions for my test file:

Processing unit_tests.dir/curve.cpp.gcda
/home/runner/work/cppzmq/cppzmq/build/tests/CMakeFiles/unit_tests.dir/curve.cpp.gcno:version 'B23*', prefer 'B14*'
geninfo: ERROR: GCOV failed for /home/runner/work/cppzmq/cppzmq/build/tests/CMakeFiles/unit_tests.dir/curve.cpp.gcda!

cacharle avatar Dec 18 '25 10:12 cacharle

Okay, let me know if you're happy with the end state of the CI (I changed to gcc11, removed some warnings when building libzmq and added a job for the curve feature) I'll squash all the commits after

cacharle avatar Dec 18 '25 10:12 cacharle

Pull Request Test Coverage Report for Build 20334274751

Details

  • 13 of 18 (72.22%) changed or added relevant lines in 1 file are covered.
  • 6 unchanged lines in 2 files lost coverage.
  • Overall coverage decreased (-0.3%) to 88.057%

Changes Missing Coverage Covered Lines Changed/Added Lines %
zmq.hpp 13 18 72.22%
<!-- Total: 13 18
Files with Coverage Reduction New Missed Lines %
zmq.hpp 1 85.71%
zmq_addon.hpp 5 94.18%
<!-- Total: 6
Totals Coverage Status
Change from base Build 17909983277: -0.3%
Covered Lines: 929
Relevant Lines: 1055

💛 - Coveralls

coveralls avatar Dec 18 '25 15:12 coveralls

Pull Request Test Coverage Report for Build 20335143482

Details

  • 13 of 18 (72.22%) changed or added relevant lines in 1 file are covered.
  • 6 unchanged lines in 2 files lost coverage.
  • Overall coverage decreased (-0.3%) to 88.057%

Changes Missing Coverage Covered Lines Changed/Added Lines %
zmq.hpp 13 18 72.22%
<!-- Total: 13 18
Files with Coverage Reduction New Missed Lines %
zmq.hpp 1 85.71%
zmq_addon.hpp 5 94.18%
<!-- Total: 6
Totals Coverage Status
Change from base Build 17909983277: -0.3%
Covered Lines: 929
Relevant Lines: 1055

💛 - Coveralls

coveralls avatar Dec 18 '25 15:12 coveralls