-
Notifications
You must be signed in to change notification settings - Fork 511
Snap Travis integration #483
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
Comments
And here we go: https://forum.snapcraft.io/t/call-for-testing-snapcraft-3-9/13944 Snapcraft 3.9 is pre-released and includes remote-build support. Let's do it. |
Sounds good. Let me know once it becomes stable. |
Certainly. We're going to need a solvespace launchpad account for remote builds though. I'll test with mine in the meantime |
Is there a particular reason for |
I don't recall if there was. It should be fine to upgrade to Xenial. |
This was implemented by: Snaps are being built and deployed correctly: https://travis-ci.org/solvespace/solvespace/jobs/640723069 I consider this completed. |
Is this process supposed to upload 4 separate releases, each supporting 1 architecture? Seems suboptimal. |
The revision is a strictly increasing integer per project and applies to all uploaded snaps. So yes, it is indeed meant to be that way. See So, not specific to our implementation; just the nature of the beast. |
We're all done here! |
As outlined in #436 we'd like to have build on commit and also release to the edge channel.
Using
snapcraft remote-build
The current plan involves using
snapcraft remote-build
to build for all possible architectures. This feature is still in beta @ https://github.com/snapcore/snapcraft/tree/remote-build and will receive further simplifications, so I propose waiting for that to be properly finished.A sample implementation is here: https://github.com/ppd1990/solvespace-travis
Using docker
If that does not work out so well for any reason, we can still use docker to build for Travis' native architectures #436 (comment)
Cross-builds for other architectures should be possible with qemu, but I haven't looked into that enough.
Multiarch support for docker: https://github.com/multiarch/qemu-user-static
Travis with Docker and QEMU: https://developer.ibm.com/linuxonpower/2017/07/28/travis-multi-architecture-ci-workflow/
Architectures to support
It wouldn't hurt to define what architectures we'd like to build for.
amd64
andi386
for sure,armhf
andarm64
make sense too for a desktop application.The text was updated successfully, but these errors were encountered: