Skip to content

Conversation

@artivis
Copy link

@artivis artivis commented Jan 12, 2024

Set the snap version from the pip package and add a snap CI workflow.

To automatically publish the snap to the store you will need to set up the credential in SNAPCRAFT_STORE_CREDENTIALS, see the action doc.

Signed-off-by: artivis <[email protected]>
Copy link
Owner

@iosifache iosifache left a comment

Choose a reason for hiding this comment

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

The action will build the snap only for the architecture of the GitHub runner.

Shouldn't the action run for each architecture on which the snap should run (for example, by using matrix)? In this case, the snaps for all architectures will be uploaded by calling the publish step multiple times.

The rest looks good!

@artivis
Copy link
Author

artivis commented Jan 12, 2024

Unfortunately there aren't arm-based runners as of now.
The only solutions at the moment are using some qemu-based container for emulation or self-hosted runners...

@iosifache
Copy link
Owner

Just discovered this, but did you play in the past with run-on-architecture? It looks like a plug-and-play wrapper over QEMU.

@artivis
Copy link
Author

artivis commented Jan 12, 2024

I haven't used this action, other similar exists.
I'll leave it to you to support arm in CI tho ;)

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