-
Notifications
You must be signed in to change notification settings - Fork 10
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
Use new GH action to compile and test for windows #17
Comments
OMG! THANKS! That looks exactly like the thing I need :) |
Just had a look at the source code, currently it maps 5.4 to 5.3.5, so that's not reliable just yet. Probably will be in the near future, but I'd say keep the current one for now until it fixes that. |
I created an issue on that, let's hope it's resolved soon. |
I only need a lua version that can run teal and luarocks to install it so having that mapping issue shouldn't be a problem. However, I just looked and it seems like you need another action to make use of luarocks, and the action they link has this as the only open issue leafo/gh-actions-luarocks#3 so that isn't very promising. edit: just checked. Looks like I am already using that one, so assuming it works on windows there shouldn't be any issues. |
I just realized we can use hererocks! I've been using it to test stuff locally, didn't even think of using it in a GH action. It's a python module, so it's probably very easy to find a platform independent action. |
UPDATE: Hererocks works! I'm just having issues with LuaJIT on MacOS, but I'm pretty sure it's not relevant to your use case, so feel free to check how I did it in my CI setup. Note that this is not yet on master, so if you need to reference it later, be sure to follow this link or make sure you're in the |
Did you work on this at all? If you have any questions feel free to tag me, my current CI setup is working smoothly. |
I made the changes in #18 but it looks like windows is still not happy.
do I need to run something before |
TL;DR: Try running Hererocks works like a virtualenv in python, so you need to run I haven't looked at your current setup, so you might have already done that, so sorry in advance as I'm kind of in a hurry right now. |
sadly, that did not fix it. Weirdly enough, both linux and macos managed to pass so whatever it is, it is windows specific. |
Hm, maybe you could just use |
no, because |
Hmm, maybe it's a behavior specific to cargo on windows? It might be overshadowing PATH? I can't think of anything else... |
I believe you mentioned in gitter you were having problems with the leafo Lua action. I recently bumped into the same issue and found this one which claims to work for all 3 major platforms.
Maybe worth having a look?
The text was updated successfully, but these errors were encountered: