Skip to content
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

Include a third-party license attribution in the binary C++ packages #7302

Merged
merged 1 commit into from
Jan 8, 2025

Conversation

tronical
Copy link
Member

@tronical tronical commented Jan 8, 2025

Generate a top-level licenses/ folder and include it in the CPack archive.

Generate a top-level licenses/ folder and include it in the CPack archive.
@tronical tronical requested a review from ogoffart January 8, 2025 15:18
@tronical
Copy link
Member Author

tronical commented Jan 8, 2025

(I'm not 100% sure this is a good location within the archive)

@tronical
Copy link
Member Author

tronical commented Jan 8, 2025

Test run that has sample archives: https://github.com/slint-ui/slint/actions/runs/12673255510/job/35319212718

@@ -56,7 +56,7 @@ jobs:
with:
crate: cargo-about
- name: Prepare licenses
run: bash -x ../../scripts/prepare_binary_package.sh ../..
run: bash -x ../../scripts/prepare_binary_package.sh ${{ runner.workspace }}/cppbuild
Copy link
Member

Choose a reason for hiding this comment

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

So that didn't work before?

Copy link
Member Author

Choose a reason for hiding this comment

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

It produced the files, but they weren’t included in the package. Now they’re placed in the bin dir and packaged via the cmake change. The only place where this worked is slint_tool_binary.yaml :)

@tronical tronical merged commit 1a49798 into master Jan 8, 2025
52 checks passed
@tronical tronical deleted the simon/cpp-binpkg-license-attribution branch January 8, 2025 20:43
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