Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Example Fix and CI #1753

Merged
merged 1 commit into from
Jul 6, 2023
Merged

Example Fix and CI #1753

merged 1 commit into from
Jul 6, 2023

Conversation

benjaminwinger
Copy link
Collaborator

I'd noticed that the C++ example doesn't compile any more (json_fwd.hpp has been added into one of the includes, presumably since that example was written). I've fixed it, and added CI jobs for the examples, since while they aren't essential parts of the software, they are less helpful if they get out of date and fail to build when someone tries them out.

@codecov
Copy link

codecov bot commented Jul 3, 2023

Codecov Report

Patch and project coverage have no change.

Comparison is base (7ecf3b4) 91.16% compared to head (d673772) 91.16%.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #1753   +/-   ##
=======================================
  Coverage   91.16%   91.16%           
=======================================
  Files         769      769           
  Lines       28089    28089           
=======================================
  Hits        25608    25608           
  Misses       2481     2481           

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@@ -4,6 +4,7 @@ project(example-cpp)
set(CMAKE_CXX_STANDARD 20)

include_directories(../../src/include)
include_directories(../../third_party/nlohmann_json)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you double check if we need this third party any more? I think we removed this dependency since #1751

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, it's no longer needed. The example now works without any modifications.

@andyfengHKU andyfengHKU merged commit c13c1f0 into master Jul 6, 2023
9 checks passed
@andyfengHKU andyfengHKU deleted the examples branch July 6, 2023 23:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants