feat: Generate Debian packages with CPack#2282
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## develop #2282 +/- ##
===========================================
+ Coverage 79.93% 79.95% +0.01%
===========================================
Files 381 381
Lines 15762 15762
Branches 8254 8254
===========================================
+ Hits 12600 12602 +2
+ Misses 1892 1891 -1
+ Partials 1270 1269 -1 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
@legleux imo we can drop the service file but let's keep the config. We can later adjust it to work with a default |
mathbunnyru
left a comment
There was a problem hiding this comment.
Is there any way to check this works in CI?
It would be nice to have a workflow
I don't mind having it here, if it's also tested here, that's why let's add a workflow |
How do you test changes to CI nowadays?
I was thinking it should probably be part of |
Could you clarify your question, please?
I think you can add it to |
3fbe2c3 to
b4ba113
Compare
e8153b0 to
ab65f82
Compare
|
@legleux what remains for this to be merged? |
|
@godexsoft When I had added the step to build the packages similar to the code_coverage step, I couldn't get to see the final outcome because the build kept failing (I'm pretty sure due to OOM on the runner). |
1df0838 to
40eefe9
Compare
mathbunnyru
left a comment
There was a problem hiding this comment.
Left some comments and question
I've also taken a look why the CI fails - you need to adjust build_impl.yml so it doesn't upload tests when it's package (and you might need to adjust clio_server upload as well)
14c562c to
bb3ca71
Compare
mathbunnyru
left a comment
There was a problem hiding this comment.
I left some comments, mostly things I don't understand
09b6683 to
263dc25
Compare
|
|
||
| include(GNUInstallDirs) | ||
|
|
||
| install(TARGETS clio_server DESTINATION ${CMAKE_INSTALL_BINDIR}) |
There was a problem hiding this comment.
Do we need to escape this as well?
Builds the Linux packages with CPack.
Generate them by running Conan with
--options:host "&:package=True" --options:host "&:static=True"then after the build you can runcpack .in the build directory.@mathbunnyru Where do you think this should be built? QA needs a package per-commit.
@godexsoft What to do with the
config.jsonand service file. I can just remove them or strip the comment out but it still won't work out the box with the defaultrippled.cfg. Relates to #2191.