-
Notifications
You must be signed in to change notification settings - Fork 13
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
Custom apt sources #12
Comments
I have been able to get all my dependencies into Debian bullseye, by using https://build.opensuse.org/ to do debian builds. Info about it is at https://en.opensuse.org/openSUSE:Build_Service_Debian_builds My project is https://build.opensuse.org/project/show/home:jayvdb:debian , which publishes built packages to repo https://download.opensuse.org/repositories/home:/jayvdb:/debian/Debian_11 As a result, my main use of this github action is now able to use My
I need to check whether But in any case, I intend to remove the PPA, relying only on OBS, in which case pairs of However, that design may not be ideal, because GitHub Actions doesnt support anchors and aliases, whereas Travis and GitLab CI do. See the following for some of the discussions about that:
As a result, the array of sources would need to be duplicated for each use of this github action. There are some wonderful workarounds for the lack of anchors and aliases, but IMO use of So I am thinking that there should be two inputs, Another alternative is to put JSON into an env var, and then maybe even it can be unserialized using GHA expression fromJSON before being given to this github action as an object - not sure if GHA supports passing objects into GHAs such as this one. |
An alternative to #11 is to allow custom apt sources, so that users can build better -dev packages while waiting for debian to fix the problem. This has the added benefit of allowing using non-debian maintained packages, such as NVidia (https://docs.nvidia.com/datacenter/tesla/tesla-installation-notes/index.html ; although that may only work when using self-hosted runners with GPUs) and Intel (https://www.intel.com/content/www/us/en/developer/articles/guide/installing-free-libraries-and-python-apt-repo.html)
The Travis CI implementation of this was quite good, e.g.
The text was updated successfully, but these errors were encountered: