Skip to content
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

Test more OS-es in Github Actions #493

Closed
blapie opened this issue Dec 13, 2023 · 7 comments
Closed

Test more OS-es in Github Actions #493

blapie opened this issue Dec 13, 2023 · 7 comments
Labels

Comments

@blapie
Copy link
Collaborator

blapie commented Dec 13, 2023

Add runs on windows and macos in Github Actions.

Make a plan for more OS-es via docker: iOS, Android, FreeBSD...

@blapie
Copy link
Collaborator Author

blapie commented May 23, 2024

PR #540 is currently looking to add GHA workflows/jobs to build and run test on windows (x86 with msys2).
As well as some jobs to cross compile on Linux runners for Windows on x86 and arm64 using llvm-mingw. Running test for Windows on Arm might not be possible with GH-hosted runners any time soon but that is a good start.

@Andarwinux
Copy link
Contributor

I can add CI for macOS, but aarch64 seems to fail a lot of tests. Also, macOS runner is very expensive and I'm not sure there is enough quota to run macOS CI for each commit.

@blapie
Copy link
Collaborator Author

blapie commented May 28, 2024

Thanks for the contributions, looking into them now.

can add CI for macOS, but aarch64 seems to fail a lot of tests.

At the moment we test macos on aarch64 internally, and I dont think we see test failures. Could you please share the logs?

Also, macOS runner is very expensive and I'm not sure there is enough quota to run macOS CI for each commit.

This would be very handy to have, but as you said is very expensive to run on github hosted runners. For now it would be good to just manually trigger them. We will soon enable some self-hosted runners (principally aarch64 ones), hopefully they will be able to run macos as well.

@Andarwinux
Copy link
Contributor

At the moment we test macos on aarch64 internally, and I dont think we see test failures. Could you please share the logs?

see https://github.com/Andarwinux/sleef/actions/runs/9216863992/job/25357988023#step:6:109

@blapie
Copy link
Collaborator Author

blapie commented May 28, 2024

Thanks! So is that using the newly-available arm64 runners?

@Andarwinux
Copy link
Contributor

Thanks! So is that using the newly-available arm64 runners?

GHA's M1-based macOS runner has been generally available for a long time, but it doesn't support nested virtualization like the old x86_64 runner.

@blapie
Copy link
Collaborator Author

blapie commented Jun 10, 2024

In light of the recent OS-es additions to GHA, we are going to close this issue.

A dedicated issue (#544) was raised to allow testing libm and quad with MinGW/MSYS2, in order to claim full support for Windows (MSYS2). This requires rewriting the test engine to not rely on sys/wait.h.

Regarding iOS, Android and FreeBSD we will wait for users to request these, as implementing CI tests is not as straightforward as other major OS-es. Feel free to open a new issue to discuss this particular topic.

@blapie blapie closed this as completed Jun 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants