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

overhaul build system and move all ci to github actions #273

Closed
wants to merge 5 commits into from

Commits on Jul 12, 2023

  1. make github actions main release ci

    * builds windows, macos, linux binaries on github actions
    * uploads to release on tagged commits
    truemedian committed Jul 12, 2023
    Configuration menu
    Copy the full SHA
    cf6c0aa View commit details
    Browse the repository at this point in the history
  2. clean up makefile and build system

    CMakeLists changes:
    
    * enables linking with a shared libuv and lua.
    * makes the default cmake build a tiny build.
        - openssl, lpeg, pcre and zlib must be explicitly enabled
    * cleans up some file path issues when ${CMAKE_CURRENT_SOURCE_DIR} was prepended twice in a row
    * tries to clean up the style of the cmakelists.txt
    * removes old cpack functionality from cmakelists.txt
        - this hasn't been touched since 2015
        - and if we're packaging anything we should be packaging luvi + lit + luvit.
    * try to start efforts towards cross compiling (at least for Lua)
        - can now somewhat cross compile openssl
    
    Makefile changes:
    
    * allows changing all cmake options from the makefile (and they're now somewhat documented)
    * the regular-asm makefile target has been removed in favor of `WITH_OPENSSL_ASM=ON`
    * the old holy-build-box building and ci packaging has been removed from the makefile
        - holy-build-box is provided by packaging/hbb and release packaging was moved into github actions
    
    Make.bat changes:
    
    * Architecture is now automatically detected, and can be overridden with the `%ARCH%` environment var.
    * -asm builds were removed, there is no makefile argument equivalent, it required nasm to be installed.
        - may need to be reverted if there is a significant performance drop.
    truemedian committed Jul 12, 2023
    Configuration menu
    Copy the full SHA
    f5d8e97 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    1039949 View commit details
    Browse the repository at this point in the history
  4. make.bat: fix typo

    truemedian committed Jul 12, 2023
    Configuration menu
    Copy the full SHA
    2b82230 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    b11cc94 View commit details
    Browse the repository at this point in the history