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

Pre-compiled shared library to upload to LuaRocks #92

Open
AndreMiras opened this issue Apr 20, 2023 · 0 comments
Open

Pre-compiled shared library to upload to LuaRocks #92

AndreMiras opened this issue Apr 20, 2023 · 0 comments

Comments

@AndreMiras
Copy link

This is a feature request.
It would be awesome if lua-cjson could be pre-compiled when published via LuaRocks.
I mean so that the cjson.so was compiled and published for the different platforms.
I'm new to Lua so I don't know how achievable it is, but I've done it a few times for Python, last time was for lru-dict.
Basically the idea is to (cross-)compile the library for the different platform using the CI.
I would be more than glad to help if I get some guidance.
It could feel like a big task, but it doesn't have to be done all in one go.
For instance we could start by shipping the library compiled for only a subset of platforms, like what we compile for in the test.yml and then keep adding platforms as we see fit.
Uploading the rock to LuaRocks can also be automated via the CI so it happens upon tagging, I've done so in my very recent toy project (see publish.yml), maybe this is where we could start.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant