Skip to content

feat: add libc2pa Linux .deb and .rpm package builds#2041

Open
gpeacock wants to merge 4 commits into
mainfrom
gpeacock/library_packages
Open

feat: add libc2pa Linux .deb and .rpm package builds#2041
gpeacock wants to merge 4 commits into
mainfrom
gpeacock/library_packages

Conversation

@gpeacock
Copy link
Copy Markdown
Member

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

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.
@codspeed-hq
Copy link
Copy Markdown

codspeed-hq Bot commented Apr 10, 2026

Merging this PR will improve performance by ×3.8

⚠️ Different runtime environments detected

Some benchmarks with significant performance changes were compared across different runtime environments,
which may affect the accuracy of the results.

Open the report in CodSpeed to investigate

⚡ 6 improved benchmarks
✅ 24 untouched benchmarks
⏩ 64 skipped benchmarks1

Performance Changes

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

Open in CodSpeed

Footnotes

  1. 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.

  2. 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
Copy link
Copy Markdown

codecov Bot commented Apr 10, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 78.47%. Comparing base (6feef8f) to head (aa1fee2).

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.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@gpeacock gpeacock changed the title feat(c2pa-c-ffi): add libc2pa Linux .deb and .rpm package builds feat: add libc2pa Linux .deb and .rpm package builds Apr 16, 2026
Copy link
Copy Markdown
Contributor

@ok-nick ok-nick left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approving given the workflows were verified to work.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants