-
-
Notifications
You must be signed in to change notification settings - Fork 5
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
Feature/test docker build #31
base: main
Are you sure you want to change the base?
Conversation
4ead609
to
f7b8f9e
Compare
CMakeLists.txt
Outdated
${ENABLE_SANITIZER_THREAD} | ||
${ENABLE_SANITIZER_MEMORY} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These sanitizers cannot be enabled with each other
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I thought this is handled by check_sanitizers_support()
see too ENABLE_SANITIZER_LEAK on Darwin
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
check_sanitizers_support
only checks if the compiler supports that variable. Maybe we should handle that as well.
.gitlab-ci.yml
Outdated
# XXX WHY? set time-zone | ||
# TZ=Canada/Pacific | ||
# ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As far as I remember, this is required for proper downloading of the tools
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
see my gitlab pipline
- cmake --workflow --preset ${CI_compiler}-debug | ||
- gcovr . | ||
- cmake --workflow --preset ${CI_compiler}-release |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
usage example of cmake --workflow --preset
c4efb3c
to
60b61b5
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Needs a rebase after #20
Update docker related docu and config Add simple CMakeWorkflowPresets Try to use $env{CC} to control the compiler variant Format CMakePresets files Do not waste time, use run-clang-tidy Upgrade project_options Use cmake workflow on gitlab-ci Update link to setup-cpp-x64-linux Install current cmake version with pythone3-pip on CI Cleanup .gitlab-ci.yml file Use gcovr on gitlab-ci
Enable clang-tidy on CI builds Use custom-collapsible-sections
Use CI_compiler variable while build
As recommended in review
Update setup-cpp to v0.36.2 Upgrade to gcovr v6.0 Use newest cmake and project_options
70fa53c
to
743901c
Compare
Update docker related docs and config
Update
.gitlab-ci.yml
file usingcmake workflow presets
andgcovr
.