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

Build the cli snap for all archs #176

Merged
merged 1 commit into from
Dec 15, 2023
Merged

Build the cli snap for all archs #176

merged 1 commit into from
Dec 15, 2023

Conversation

plars
Copy link
Collaborator

@plars plars commented Dec 14, 2023

Description

Simon just pushed a change to update the base to core22 and I noticed after it landed that it only built for amd64. This is because we're in a monorepo now, so we couldn't continue using the snapcraft.io build infrastructure and had to switch to self-hosted runners - but they are only am64 right now. Fortunately, it's python and we don't really need to build on other archs. It should be sufficient to build once and run on all.

Resolved issues

Without this, we wouldn't have a snap for any other arch besides amd64. Which might not be an issue, or it might. At least it preserves that in case others are using it on other archs.

Documentation

no doc changes needed, snap install still works the same for it

Tests

Built locally

@plars plars requested a review from a team December 14, 2023 17:04
Copy link

@omar-selo omar-selo left a comment

Choose a reason for hiding this comment

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

Looks good

@plars plars merged commit 0a74115 into main Dec 15, 2023
2 checks passed
@plars plars deleted the snap-build-for-all branch December 15, 2023 14:42
@mz2
Copy link
Collaborator

mz2 commented Dec 18, 2023

(We can continue to use snapcraft.io build infra, with lessons from the Checkbox project drawn on some do's and don'ts -- we can get back to this early next year if needed)

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.

3 participants