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

CI targets #2561

Merged
merged 126 commits into from
Mar 24, 2021
Merged

CI targets #2561

merged 126 commits into from
Mar 24, 2021

Conversation

nlohmann
Copy link
Owner

@nlohmann nlohmann commented Dec 30, 2020

This PR overworks the targets to execute in the CI and when a release is prepared. Right now, these steps are distributed over the configuration files of Travis, AppVeyor, and GitHub Actions, as well as the project's Makefile and some Python scripts. The goal is to have some CMake-based targets that are then executed by a (much simpler) CI. I would also like to get rid of the project's Makefile altogether.

Note: This PR may need to add some targets for MSVC as done in #2245. Closes #1798.

@coveralls
Copy link

coveralls commented Dec 31, 2020

Coverage Status

Coverage decreased (-0.02%) to 99.982% when pulling 3d0812a on ci into 6b74772 on develop.

@nlohmann nlohmann marked this pull request as draft January 1, 2021 16:38
@nlohmann nlohmann self-assigned this Jan 2, 2021
add_custom_target(ci_test_noimplicitconversions
COMMAND CXX=${CLANG_TOOL} ${CMAKE_COMMAND}
-DCMAKE_BUILD_TYPE=Debug -GNinja
-DJSON_BuildTests=ON -DJSON_MultipleHeaders=ON -DJSON_ImplicitConversions=ON
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
-DJSON_BuildTests=ON -DJSON_MultipleHeaders=ON -DJSON_ImplicitConversions=ON
-DJSON_BuildTests=ON -DJSON_MultipleHeaders=ON -DJSON_ImplicitConversions=OFF

@nlohmann
Copy link
Owner Author

@karzhenkov Thanks, good catch! Fixed in 9d57351.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment