-
-
Notifications
You must be signed in to change notification settings - Fork 71
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
Add a nightly/test workflow for flatpak and adapt manifest accordingly #523
Conversation
Signed-off-by: Matthew J. Milner <[email protected]>
Signed-off-by: Matthew J. Milner <[email protected]>
Signed-off-by: Matthew J. Milner <[email protected]>
Uses https://github.com/marketplace/actions/flatpak-builder According to the link, it seems the artifact should be uploaded automatically without needing a specific upload step? Keen for feedback, if we need a cleanup step etc. This is just based on the example given. |
Signed-off-by: Matthew J. Milner <[email protected]>
Signed-off-by: Matthew J. Milner <[email protected]>
Signed-off-by: Matthew J. Milner <[email protected]>
Ok well
and I really don't know why. As far as I can tell |
Signed-off-by: Matthew J. Milner <[email protected]>
Signed-off-by: Matthew J. Milner <[email protected]>
You might want to use this to debug the failure. I can't get the raw log.
|
Does it fail or does it just time out? |
In the annotations it says
If it ran out of available storage, that would explain why it just stops without giving an error |
Signed-off-by: Matthew J. Milner <[email protected]>
|
||
- name: Setup tmate session | ||
if: failure() | ||
uses: mxschmitt/action-tmate@v3 |
Check warning
Code scanning / Semgrep (reported by Codacy)
An action sourced from a third-party repository on GitHub is not pinned to a full length commit SHA. Pinning an action to a full length commit SHA is currently the only way to use an action as an immutable release. Warning
I've turned off the I noticed that |
Signed-off-by: Matthew J. Milner <[email protected]>
Ok well now there seem to be problems downloading the third-party dependencies (I get the same error when trying to build the flatpak locally) so I guess I'll just leave this for a few days and come back to it... |
Signed-off-by: Matthew J. Milner <[email protected]>
Ah, I didn't see that the versions of spglib and libarchive looked for were bumped in the main repo... Looks like it'll work now. Adding GitHub Actions to the |
In particular, the |
In its current state this now builds fine locally, so I don't think the manifest is the issue. I don't know what the problem is really. It just gets randomly stuck during the open babel build step. |
That's where I'd definitely use the remote shell. Does Flatpak build in a Docker image or something? If so, maybe it's running out of space? |
Ah yes, that'll be it. I just used the workflow suggested by the Action's author, and that indeed runs it in a container. I'll increase the resources allocated to it. I did think it seemed like a low storage issue but I checked my local build and everything only comes to a few GB, which is way less than the runners have, so I ruled it out on that basis. Hadn't thought about containers being potentially limited even further. |
Signed-off-by: Matthew J. Milner <[email protected]>
d8b8ea2
to
b5f1e47
Compare
Ok it's now set up to build on the runner directly but it now can't do the clone like it's meant to be able to :( Don't know if running flatpak-builder as sudo would fix that but seems like a bad idea right? |
The runners are images, so you can |
Signed-off-by: Matthew J. Milner <[email protected]>
Signed-off-by: Matthew J. Milner <[email protected]>
ae268dd
to
d5334d0
Compare
Signed-off-by: Matthew J. Milner <[email protected]>
Okay, I'l take a look tomorrow morning Pittsburgh time. |
Developer Certificate of Origin
Version 1.1
Copyright (C) 2004, 2006 The Linux Foundation and its contributors.
1 Letterman Drive
Suite D4700
San Francisco, CA, 94129
Everyone is permitted to copy and distribute verbatim copies of this
license document, but changing it is not allowed.
Developer's Certificate of Origin 1.1
By making a contribution to this project, I certify that:
(a) The contribution was created in whole or in part by me and I
have the right to submit it under the open source license
indicated in the file; or
(b) The contribution is based upon previous work that, to the best
of my knowledge, is covered under an appropriate open source
license and I have the right under that license to submit that
work with modifications, whether created in whole or in part
by me, under the same open source license (unless I am
permitted to submit under a different license), as indicated
in the file; or
(c) The contribution was provided directly to me by some other
person who certified (a), (b) or (c) and I have not modified
it.
(d) I understand and agree that this project and the contribution
are public and that a record of the contribution (including all
personal information I submit with it, including my sign-off) is
maintained indefinitely and may be redistributed consistent with
this project or the open source license(s) involved.