-
Notifications
You must be signed in to change notification settings - Fork 106
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
self sufficient testsuite + macos ci run tests #1956
self sufficient testsuite + macos ci run tests #1956
Conversation
We used to do something like that with https://github.com/torch/luajit-rocks btw. (I'm just mentioning it for potential onlookers who might be interested in random historical remarks.) |
Random remark about macOS: the last few LuaJIT commits upstream deal with XCode 16 & macOS 15 stupidity, so we might want to bump LuaJIT again, too ;). (Will do so tomorrow if nobody beats me to it, as I'm barely awake rn) |
b2fd244
to
300ca0c
Compare
The new macOS job using XCode 16.0 would hang during the build, but pass with the LuaJIT update from #1957, so it clearly has an impact. |
88040a5
to
363d237
Compare
363d237
to
342bf77
Compare
342bf77
to
fc6a65b
Compare
fc6a65b
to
2142b43
Compare
Build & install the testsuite dependencies ourselves.
No need to install jq (already provided by the runner image).
Even when building for the `macos` target, so tests can be run.
``` Error: The `brew link` step did not complete successfully The formula built, but is not symlinked into /opt/homebrew Could not symlink bin/pkg-config Target /opt/homebrew/bin/pkg-config is a symlink belonging to pkg-config@0.29.2. You can unlink it: brew unlink pkg-config@0.29.2 To force the link and overwrite all conflicting files: brew link --overwrite pkgconf To list all files that would be deleted: brew link --overwrite pkgconf --dry-run Possible conflicting files are: /opt/homebrew/bin/pkg-config -> /opt/homebrew/Cellar/pkg-config@0.29.2/0.29.2_3/bin/pkg-config /opt/homebrew/share/aclocal/pkg.m4 -> /opt/homebrew/Cellar/pkg-config@0.29.2/0.29.2_3/share/aclocal/pkg.m4 /opt/homebrew/share/man/man1/pkg-config.1 -> /opt/homebrew/Cellar/pkg-config@0.29.2/0.29.2_3/share/man/man1/pkg-config.1 ``` This only happen with AMD64 runners, and when using the latest runner images (e.g. when the luck of the draw yields 14.7.1 23H222 and not 14.7 23H124).
2142b43
to
853dd8c
Compare
I wanted to run the tests on the macOS CI, but then I remembered lua5.1 is not supported by brew anymore, and figured I might as well make our testsuite self-sufficient (like with the meson branch): install luarocks to staging and the necessary Lua packages to a dedicated tree under the output
spec
directory.This led to discovering 2 macOS specific issues: see #1953 & #1954.
This change is