-
-
Notifications
You must be signed in to change notification settings - Fork 552
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
set up FreeBSD testing on GitHub actions #35129
Comments
Within that VM, you can just run |
The problems encountered with Sage in the FreeBSD ports / packages are caused by different versions of the dependencies: many ports of FreeBSD follow upstream releases, and it breaks Sage. I have read https://github.com/cross-platform-actions/action#readme but I don't understand how it handles this problem of dependencies. |
In principle, the idea would be to build and test Sage from source, just like we do on Linux. Dependencies are installed based on the info in build/pkgs/*/distros/freebsd.txt , checked for compatibilty by ./configure, and these ones which are not OK are not used, but built instead. |
And |
I see that indeed some Python packages in FreeBSD are ahead of Sage, e.g. scipy. Anyhow it would be good to set it up, if only just to see where we are and what fails. |
That doesn't matter because we do not use system Python packages. |
That doesn't matter for you, as upstream, but packagers (be it FreeBSD or most Linux distributions) won't package an application with so many bundled dependencies: we use the dependencies provided by the system packages. |
Yes, I said it in the context of this Issue because it is about setting up testing that our upstream project builds on this platform. |
WIP on my fork, see https://github.com/thierry-FreeBSD/sage/actions/runs/4357449549/jobs/7616771378#step:3:528 . Remarks:
|
Packaging bug on freebsd? |
I'm not sure. You mean that tomli should be a dependency of tox? |
Well, the error about pkg-config is solved, and the build goes on. Then it tries to install a list of 266 packages, and aborts quickly without explicit message:
Is it possible to make it more verbose? |
I think in |
Well, it took some time, but finally it succeeded! I you want, I could push my file .github/workflows/ci-bsd.yml . |
You probably meant to post this link: https://github.com/thierry-FreeBSD/sage/actions/runs/4874888897/jobs/8696385000 |
it failed due to the runner hang, it seems |
Yes, sorry! |
Building the documentation (Build documentation (PDF) #4) hang, but the build (Build & Test #23) seems OK: |
Yeah, looks good. So, can we get the branch which does the job in a PR? |
Indeed, it's confusing, sorry. The only relevant CI here is .github/workflows/ci-bsd.yml Perhaps put there a manual trigger ? |
In this case, I guess that for the parameter |
For your experimental FreeBSD branch, I'd have disabled all the CI, expect this one. I think you can just remove
in |
Is there an existing issue for this?
Problem Description
currently Sage is not really tested on FreeBSD, and the support is lagging behind.
It's however possible to set up FreeBSD (and other BSDs) testing on GitHub Actions:
https://github.com/cross-platform-actions/action#readme
Proposed Solution
use https://github.com/cross-platform-actions/action#readme
Alternatives Considered
n/a
Additional Information
@thierry-FreeBSD
The text was updated successfully, but these errors were encountered: