overhaul build system and move all ci to github actions #273
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This is rather large overhaul of the cmake and make files as well as removing appveyor from CI.
This moves all CI and release builds to github actions. The makefile can now pass all options the cmake build accepts. The cmake file can now link lua and libuv dynamically (as well as link libluv dynamically correctly now).
The smallest change is adding
luv
as a way to require luv on top of the normaluv
provided in luvi. This makes luvi compatible with luarocks packages that use luv.The default cmake build is now tiny (all extra libraries are default OFF), which makes it easier to consider which libraries need to be enabled or disabled.
CPACK has been removed from the cmake file, it hadn't been updated since 2015; any packaging of luvi should probably happen with luvi + lit + luvit, as that is the most reasonable use of a luvi package.
Make.bat now detects the architecture of the computer (or is overridden using
ARCH
) instead of havingmode
andmode32
builds. Perhaps we should look into using mingw to build for windows (which means reusing the Makefile).As a side effect of this PR. Appveyor will need to be turned off.