Skip to content

Commit

Permalink
FEAT: Also include binaries in releases
Browse files Browse the repository at this point in the history
  • Loading branch information
magicaldave committed Nov 24, 2024
1 parent b0436d2 commit dfa7ae6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/LuaJIT.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ jobs:
target_system: [ ubuntu-22.04, windows-2022, macos-11 ]
runs-on: ${{ matrix.target_system }}
env:
BUILD_EXT_BIN: ${{ matrix.target_system == 'windows-2022' && '.exe' || '' }}
BUILD_EXT_DYN: ${{ matrix.target_system == 'windows-2022' && '.dll' || '.so' }}
BUILD_EXT_STAT: ${{ matrix.target_system == 'windows-2022' && '.lib' || '.a' }}
BUILD_PREFIX: ${{ matrix.target_system != 'windows-2022' && 'lib' || ''}}
Expand All @@ -39,6 +40,7 @@ jobs:
mkdir bin include lib lua
cd src
mv jit ../lua
mv ${{ env.LIB_NAME }}${{ env.BUILD_EXT_BIN }} ../bin
mv ${{ env.BUILD_PREFIX }}${{ env.LIB_NAME }}${{ env.BUILD_EXT_DYN }} ../bin
mv ${{ env.BUILD_PREFIX }}${{ env.LIB_NAME }}${{ env.BUILD_EXT_STAT }} ../lib
mv lauxlib.h lua.h lua.hpp luaconf.h luajit.h lualib.h ../include
Expand Down

0 comments on commit dfa7ae6

Please sign in to comment.