-
Notifications
You must be signed in to change notification settings - Fork 8
PG-1467 Add clang builds to CI #230
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
base: TDE_REL_17_STABLE
Are you sure you want to change the base?
Conversation
e05108e
to
8d26e18
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.
What feature from a more modern Meson did you need? That would be useful information to have in the commit message if someone sees this in the future and wonders why it is installed from pip.
Old version of meson incorrectly checks existence of some libs/funcs/structs available in a system. That caused compilation failure due name collision. While update helped to solve original issue and compile project there are still differences between You can check and compare output of these two commands: |
8d26e18
to
f6e5c3a
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
❌ Your project status has failed because the head coverage (78.94%) is below the target coverage (90.00%). You can increase the head coverage or adjust the target coverage. Additional details and impacted files@@ Coverage Diff @@
## TDE_REL_17_STABLE #230 +/- ##
==================================================
Coverage 78.93% 78.94%
==================================================
Files 22 22
Lines 2464 2465 +1
Branches 385 386 +1
==================================================
+ Hits 1945 1946 +1
Misses 444 444
Partials 75 75
🚀 New features to boost your workflow:
|
.github/workflows/psp-reusable.yml
Outdated
artifact_name: build-${{ inputs.os }}-${{ inputs.build_script }}-${{ inputs.build_type }} | ||
artifact_name: build-${{ inputs.os }}-${{ inputs.compiler }}-${{ inputs.build_script }}-${{ inputs.build_type }} | ||
CC: ${{ inputs.compiler }} | ||
CXX: ${{ inputs.compiler }} |
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.
This isn't correct, but maybe it works because we are only using C files. But it should be g++
or clang++
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.
You right, even though both compilers can automatically switch mode based on file extensions they still have differences against what stdlib program will be linked. However the only C++ code that we have is demos in libkmip and we don't compile it at all. So I will just drop CXX variable here.
Ubunut has outdated meson version in its repos. So intall it with pip instead.
Add clang compiler to CI matrix
f6e5c3a
to
338e53f
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.
Looks great!
Weirdly it seems to wait for results of ci runs that no longer exists?
They are marked as |
Do we need to get IT helpdesk involved to do that or does anyone in the team have the proper access? |
@dutow has admin permissions in the repo |
https://perconadev.atlassian.net/browse/PG-1467