Repository navigation
Upload Piper voice components from CI - #1
Closed
paul-geoghegan wants to merge 1 commit into
Closed
paul-geoghegan wants to merge 1 commit into
paul-geoghegan wants to merge 1 commit into
Conversation
Upload generated voice components on main and manual runs while keeping pull-request builds free of the large voice bundle. Document both artifact names and the upload policy. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
steinbro
reviewed
Nov 28, 2026
| @@ -64,3 +64,12 @@ jobs: | |||
| name: ${{ matrix.snap.snap_name }}-snap | |||
| path: ${{ steps.build.outputs.snap }} | |||
Collaborator
There was a problem hiding this comment.
The action allows for multiple paths here, but given the README update I suppose not doing this was intentional:
Suggested change
| path: ${{ steps.build.outputs.snap }} | |
| path: | | |
| ${{ steps.build.outputs.snap }} | |
| ${{ matrix.snap.snap_dir }}/*.comp |
Comment on lines
+19
to
+23
| CI uploads the Piper snap as the `speech-provider-piper-snap` artifact and its | ||
| voice components as the separate `speech-provider-piper-voices` artifact. The | ||
| voice artifact is uploaded on pushes to `main` and on manually dispatched | ||
| runs; pull requests still build the components but do not upload the large | ||
| voice bundle. |
Collaborator
There was a problem hiding this comment.
What's the motivation for keeping the artifact size low? You'd want at least one component present to perform testing on the main snap.
One major limitation of the current CI job is that it only confirms the artifacts build, not that they actually work. There's plenty of code in the tests directory to confirm end-to-end that the snaps install and generate speech, but require a human to listen for output. If you know of a good approach to automate this as part of CI, that would be a much welcome contribution :)
Collaborator
|
Never mind, this has been superseded by #2. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
CI builds Piper’s 21 voice components but only uploads the snap. This uploads the components as a separate artifact on main and manual runs; pull requests still build them without uploading the large bundle. The README documents both artifacts.
Not yet verified in a workflow run. Relates to UDENG-12310.