uspgamedev / luasteam

Bindings to connect lua with Steam API
https://luasteam.readthedocs.io/en/stable/
MIT License
134 stars 25 forks source link

add makefile steps to build a universal binary of the library #45

Closed jamespanic closed 3 months ago

jamespanic commented 3 months ago

Should fix https://github.com/uspgamedev/luasteam/issues/39

jamespanic commented 3 months ago

This looks good, but I can't test right now because I don't have a Mac and Travis is no longer free.

I'm hoping you tested this in your machine.

Yes this has been tested and well be going into a shipping game.

yancouto commented 3 months ago

Thank you! I merged this for whoever wants to build, but I can't provide the auto-built universal libraries anymore because Travis is no longer free. (#46)

yancouto commented 3 months ago

Actually I managed to get free credits in Travis and fix the build (it was broken due to old XCode...)

If you have any free time, I would appreciate if you could quickly check if the CI-built universal library works: https://github.com/uspgamedev/luasteam/releases/tag/v3.2.1

jamespanic commented 3 months ago
> lipo -archs osx_luasteam.so
x86_64 arm64

looks good!