feat: add libc2pa Linux .deb and .rpm package builds#2041
Conversation
Add a CI step to library-release.yml that produces libc2pa (runtime) and libc2pa-dev (headers + pkg-config) packages in both .deb and .rpm formats for x86_64 and aarch64 Linux targets using fpm.
Merging this PR will improve performance by ×3.8
|
| Mode | Benchmark | BASE |
HEAD |
Efficiency | |
|---|---|---|---|---|---|
| ⚡ | Memory | update-manifests/read |
43.6 MB | 5.6 MB | ×7.8 |
| ⚡ | Memory | binary-ingredient-tree/read |
50.8 MB | 15.3 MB | ×3.3 |
| ⚡ | Memory | deep-ingredients/read |
45.1 MB | 4.7 MB | ×9.7 |
| ⚡ | Simulation | binary-ingredient-tree/read |
1,071.9 ms | 773 ms | +38.66% |
| ⚡ | Simulation | update-manifests/read |
815.4 ms | 289.6 ms | ×2.8 |
| ⚡ | Simulation | deep-ingredients/read |
834.5 ms | 278 ms | ×3 |
Tip
Curious why this is faster? Comment @codspeedbot explain why this is faster on this PR, or directly use the CodSpeed MCP with your agent.
Comparing gpeacock/library_packages (aa1fee2) with main (9fb5ef4)2
Footnotes
-
64 benchmarks were skipped, so the baseline results were used instead. If they were deleted from the codebase, click here and archive them to remove them from the performance reports. ↩
-
No successful run was found on
main(6feef8f) during the generation of this report, so 9fb5ef4 was used instead as the comparison base. There might be some changes unrelated to this pull request in this report. ↩
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #2041 +/- ##
=======================================
Coverage 78.47% 78.47%
=======================================
Files 177 177
Lines 45391 45391
=======================================
Hits 35620 35620
Misses 9771 9771 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
ok-nick
left a comment
There was a problem hiding this comment.
Approving given the workflows were verified to work.
Add a CI step to library-release.yml that produces libc2pa (runtime) and libc2pa-dev (headers + pkg-config) packages in both .deb and .rpm formats for x86_64 and aarch64 Linux targets using fpm.
This is pretty standard practice on linux platforms and will allow the library to be installed via apt or yum