Skip to content

Conversation

@ysbaddaden
Copy link
Contributor

@ysbaddaden ysbaddaden commented Dec 9, 2025

Upgrades to Snapcraft 8 and core22 from core(16), enables the arm64 architecture, and drops the publish job to avoid installing snapcraft twice. The snap files are no longer pushed as workspace artifacts.

Replaces the outdated Docker image build with a local install of snapd and snapcraft on the host Ubuntu machine, set to 22.04 to match core22 because we use the host build environment instead of LXD or multipass that would take much more time to setup for no purpose (no need for isolation).

Replaces the deprecated explicit login command (snapcraft login --with) with an implicit login using the SNAPCRAFT_STORE_CREDENTIALS environment variable (we can still login explicitly but we can't have both the envvar and the explicit login: further commands would fail).

Build job: https://app.circleci.com/pipelines/github/crystal-lang/crystal/20069/workflows/b8772de7-9028-4f67-8601-36b014ec37b9/jobs/96109

Upgrades to Snapcraft 8 and core22 (from core16), enables the arm64
architecture, and drops the publish job to avoid installing snapcraft
twice. The snap files are no longer pushed as workspace artifacts.

Replaces the outdated Docker image build with a local install of snapd
and snapcraft on the host Ubuntu machine, set to 22.04 to match core22
because we rely on the host build environment (no LXD, no multipass).
@ysbaddaden
Copy link
Contributor Author

I'll try to upgrade to core24 when I have an Ubuntu 24.04 VM, or maybe directly on CircleCI afterwards.

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants