LibreCAD_3 icon indicating copy to clipboard operation
LibreCAD_3 copied to clipboard

Build AppImage package using GitHub Action

Open ghost opened this issue 6 years ago • 8 comments

Compile this application on Travis CI upon each git push, and upload an AppImage to your GitHub Releases page.

Providing an AppImage would have, among others, these advantages:

  • Applications packaged as an AppImage can run on many distributions (including Ubuntu, Fedora, openSUSE, CentOS, elementaryOS, Linux Mint, and others)
  • One app = one file = super simple for users: just download one AppImage file, make it executable, and run
  • No unpacking or installation necessary
  • No root needed
  • No system libraries changed
  • Works out of the box, no installation of runtimes needed
  • Optional desktop integration with appimaged
  • Optional binary delta updates, e.g., for continuous builds (only download the binary diff) using AppImageUpdate
  • Can optionally GPG2-sign your AppImages (inside the file)
  • Works on Live ISOs
  • Can use the same AppImages when dual-booting multiple distributions
  • Can be listed in the AppImageHub central directory of available AppImages
  • Can double as a self-extracting compressed archive with the --appimage-extract parameter

Here is an overview of projects that are already distributing upstream-provided, official AppImages.

TODO

  1. https://github.com/appimage/appimagekit 1.1 https://github.com/probonopd/linuxdeployqt 1.2 https://github.com/probonopd/uploadtool

PLEASE NOTE: For this to work, you need to enable Travis CI for your repository as described here prior to merging this, if you haven't already done so. Also, You need to set up GITHUB_TOKEN in Travis CI for this to work; please see https://github.com/probonopd/uploadtool.

If you have questions, AppImage developers (i.e. @probonopd and other) are on #AppImage on irc.freenode.net.

ghost avatar Jan 15 '19 01:01 ghost

Reference: https://github.com/LibreCAD/LibreCAD/issues/858

Let me know if you need help.

probonopd avatar Jan 15 '19 06:01 probonopd

Same answer as #208: this will be done, but not in our top-priority tasks.

feragon avatar Jan 15 '19 09:01 feragon

Hi, my name Kamadje Allen and I code in C++. I will llike to contribute to you organisation. Please, may I know the if contributing to this issue be considered for GSOC.? @feragon

allenbangai avatar Feb 15 '19 17:02 allenbangai

Hi @allenbangai, This issue can be considered for GSoC, but build LibreCAD as an AppImage is too simple for GSoC. So you can either propose something better (automatic releases, etc.) or take an other task. We can discuss this on Zulip: https://librecad.zulipchat.com/

feragon avatar Feb 15 '19 17:02 feragon

OK thanks...

allenbangai avatar Feb 15 '19 21:02 allenbangai

Thanks very much

Provenance : Courrier pour Windows 10

De : Florian Roméo Envoyé le :vendredi 15 février 2019 18:46 À : LibreCAD/LibreCAD_3 Cc : Kamadje Allen; Mention Objet :Re: [LibreCAD/LibreCAD_3] Build AppImage package using Travis CI(#213)

Hi @allenbangai, This issue can be considered for GSoC, but build LibreCAD as an AppImage is too simple for GSoC. So you can either propose something better (automatic releases, etc.) or take an other task. We can discuss this on Zulip: https://librecad.zulipchat.com/ — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.


L'absence de virus dans ce courrier électronique a été vérifiée par le logiciel antivirus Avast. https://www.avast.com/antivirus

allenbangai avatar Feb 15 '19 21:02 allenbangai

Our CI platform is building LibreCAD 3 from the master branch

As Travis CI already configured for build binary, lets include into .travis.yml also AppImage build scripts and uploading resulted AppImage binary as continuous pre-release assets on GitHub:

  • https://github.com/probonopd/linuxdeployqt
    • https://github.com/linuxdeploy
  • https://github.com/probonopd/uploadtool

This will solve PPA (https://github.com/LibreCAD/LibreCAD_3/issues/233) and regular "nightly" builds tasks.

ghost avatar Aug 30 '19 10:08 ghost

I changed the title because Travis CI has changed their plans and it is annoying and extra work for OSS projects to get free capacities there.

GitHub Actions are running for LibreCAD 2 for AppImage creation now. There is also a possible GSoC 2022 participation for this issue (opencax/GSoC#59).

lordofbikes avatar Mar 30 '22 06:03 lordofbikes