probonopd / linuxdeployqt

Makes Linux applications self-contained by copying in the libraries and plugins that the application uses, and optionally generates an AppImage. Can be used for Qt and other applications
Other
2.22k stars 414 forks source link

Added GitHub Action CI. #518

Closed RICCIARDI-Adrien closed 2 years ago

RICCIARDI-Adrien commented 2 years ago

Here is an alpha version of the CI using GitHub Actions. Build is working (see https://github.com/RICCIARDI-Adrien/linuxdeployqt/runs/4833177835) and also deployment (see https://github.com/RICCIARDI-Adrien/linuxdeployqt/actions/runs/1704754459).

The following points are not working, I would like your thoughts before implementing them :

probonopd commented 2 years ago

Hello, very cool! Thanks @RICCIARDI-Adrien for working on this. Very useful indeed.

To your questions:

RICCIARDI-Adrien commented 2 years ago

You're welcome !

Here are the changes :

probonopd commented 2 years ago

Do I need to do something to unblock it from this status?

image

RICCIARDI-Adrien commented 2 years ago

I will try to remove the Travis CI file, maybe this will unlock the CI step.

RICCIARDI-Adrien commented 2 years ago

This does not work, you may have to change some GitHub repository configuration, like disabling the Travis CI application.

probonopd commented 2 years ago

Can we please continue to use Ubuntu xenial? Ubuntu 20.04 is much too new. The resulting AppImage would not even run on all still-supported Ubuntu LTS releases.

Here is how to run Ubuntu 16.04 on GitHub Actions: https://github.com/actions/virtual-environments/pull/4313#issuecomment-950172940

RICCIARDI-Adrien commented 2 years ago

Sure, it is already using Ubuntu 16.04. The CI script won't even run on Ubuntu 18.04, I tried.

RICCIARDI-Adrien commented 2 years ago

Here are some information on how to disable Travis CI for this repository : https://remarkablemark.org/blog/2021/03/15/github-remove-travis-ci/#repository

probonopd commented 2 years ago

Fingers crossed!

probonopd commented 2 years ago

Looks like it got built successfully. This is huge! Thank you so much @RICCIARDI-Adrien :1st_place_medal:

probonopd commented 2 years ago

The git checkout does not seem to work on Pull Requests @RICCIARDI-Adrien. For example:

https://github.com/probonopd/linuxdeployqt/runs/4912172855?check_suite_focus=true#step:4:11

Maybe your manual workaround didn't consider the case of pull requests. Do you have an idea how to make this work?