-
-
Notifications
You must be signed in to change notification settings - Fork 8
Add nightly build #8
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
base: main
Are you sure you want to change the base?
Conversation
Both the AppDirs, appimagetool, the protostar repo, and any .tar.gz archives made.
This should be an easier workflow than dealing with heredocs. Simply edit the files here, then copy them to an AppDir later from a build script.
I've changed this a bit to make building from terminal easier and more controllable. + install_client_multi(): installs from main if revision is not set + install_client(): installs from main if revision is not set + line 58: expect AppDir folder to copy from instead of programmatically creating it + line 106: get appimagetool if you don't have it (for non-actions build)
This is based off of the original build_appimage script, but solely focused on making the nightly build. Use build_appimage.sh to build against specific revisions. - install_client_multi(): replaced revision parsing with an auto-switch to the dev branch. - install_client(): removed revision parsing entirely. - install_server(): replaced revision parsing with --branch "dev" + line 51: expect AppDir folder to copy from instead of programmatically creating it + line 99: install appimagetool if you don't have it (for non-actions build)
for some reason, i set nightly in the non-nightly script
similar change to build_appimage.sh.
forgot to actually *upload* the final product
begging github actions to just let me push the button
forgot to name the output correctly
Schmarni-Dev
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks for the pr, the only thing i'm worried about is checking against a known good hash of appimagetool, other than that this looks great! also sorry it took so long for me to review this, i wrote the comments a few days ago and just forgot to submit the review
| - name: Download appimagetool | ||
| run: | | ||
| wget https://github.com/AppImage/AppImageKit/releases/download/13/appimagetool-x86_64.AppImage -O appimagetool | ||
| wget https://github.com/AppImage/appimagetool/releases/download/1.9.0/appimagetool-x86_64.AppImage -O appimagetool |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
since this is a tagged version, could we check this against a known good hash maybe? just to make sure the bin in the release isn't swapped out
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
so they don't post a hash on their github. should i just set the result of a sha256 or something on the existing file?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
like i could run the command right now, but that's just from me, and you might not trust me. how do we come up with a known good hash when the AppImage devs don't provide one already?
|
|
||
| # Create AppImage | ||
| if [ ! -e "./appimagetool" ]; then | ||
| wget https://github.com/AppImage/appimagetool/releases/download/1.9.0/appimagetool-x86_64.AppImage -O appimagetool |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
especially on user machines, please check for a known hash here
|
|
||
| # Create AppImage | ||
| if [ ! -e "./appimagetool" ]; then | ||
| wget https://github.com/AppImage/appimagetool/releases/download/1.9.0/appimagetool-x86_64.AppImage -O appimagetool |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same here, please check for a known hash
|
okay, i have no idea whats going wrong with the resources, the nightly appimage seems to be doing the same stuff as the release one, idk why nightly doesn't work |
|
the only commit on flatland since the one you tested didn't touch anything resource related at all, this might be a different issue |
|
just resolved the merge, gonna try to get hashes solved now |



this PR adds a bunch of stuff to the build process, but i think it's worth it.
build_appimage.shthat adds default behavior but still allows commit pinningbuild_appimage_nightly.shthat focuses on building a nightly build based on the dev branchbuild_appimage_nightly.shcouldn't test the actions ahead of time because sccache seems to be down right now.