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

snap: Add rust to build-packages [2.8 backport] #683

Merged
merged 3 commits into from
Nov 13, 2024

Conversation

freyes
Copy link
Contributor

@freyes freyes commented Nov 13, 2024

When building the snap on s390x some Python modules need to compile
their extensions (rust based), this is not needed on amd64 since pypi
has compiled packages available.

This change add rustc, cargo and pkg-config to the list of
build-packages in the snapcraft.yaml definition.

  • Migrate gh action actions/upload-artifact@v4

  • Migration gh action actions/download-artifact@v4

The backport was adjusted to use build-snap.yml workflow instead of
test.yml

(cherry picked from commit b8747e0)

Checklist

  • Are all your commits [logically] grouped and squashed appropriately?

@freyes freyes changed the base branch from master to 2.8 November 13, 2024 16:23
* snap: Add rust to build-packages

When building the snap on s390x some Python modules need to compile
their extensions (rust based), this is not needed on amd64 since pypi
has compiled packages available.

This change add rustc, cargo and pkg-config to the list of
build-packages in the snapcraft.yaml definition.

* Migrate gh action actions/upload-artifact@v4

* Migration gh action actions/download-artifact@v4

The backport was adjusted to use build-snap.yml workflow instead of
test.yml

(cherry picked from commit b8747e0)
The 2.8 branch uses core18 to build the snap on, python 3.10 is not
available, python 3.6 is the version available in Ubuntu 18.04 (Xenial)
snapcraft-7.x is the last release with core18 support
@javacruft javacruft merged commit a703b75 into juju:2.8 Nov 13, 2024
2 checks passed
@freyes freyes deleted the 2.8-add-rustc branch November 13, 2024 19:18
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