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

Enable warnings and linting of C++ code in CI #25

Open
nedrebo opened this issue Nov 7, 2019 · 0 comments
Open

Enable warnings and linting of C++ code in CI #25

nedrebo opened this issue Nov 7, 2019 · 0 comments

Comments

@nedrebo
Copy link
Contributor

nedrebo commented Nov 7, 2019

Address this todo:

#Todo: echo Building with warnings as errors
#Todo: for compiler in clang gcc; do
#Todo: source $SCRIPT_DIR/lint-cpp-$compiler-setup.sh || exit $?
#Todo: echo "Compiler config:"
#Todo: echo " CXX: ${CXX:?} "
#Todo: echo " CXXFLAGS: ${CXXFLAGS:?}"
#Todo: cmake \
#Todo: -S $ROOT_DIR \
#Todo: -B $buildDir/$compiler \
#Todo: -G Ninja \
#Todo: -DCMAKE_EXPORT_COMPILE_COMMANDS=ON \
#Todo: || exit $?
#Todo:
#Todo: cmake --build $buildDir/$compiler || exit $?
#Todo: done
#Todo:
#Todo: echo Running clang-tidy on C++ files
#Todo: clang-tidy --version || exit $?
#Todo: for fileName in $cppFiles; do
#Todo: echo $fileName
#Todo: clang-tidy -p $buildDir/clang $fileName || exit $?
#Todo: done

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

No branches or pull requests

1 participant