Skip to content

Commit

Permalink
同步官方库自动编译的修改
Browse files Browse the repository at this point in the history
  • Loading branch information
chexiongsheng committed Dec 5, 2020
1 parent bf8c1fa commit fdc8094
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,10 @@ jobs:
.\make_win_lua54.bat
.\make_win32_lua53.bat
.\make_win64_lua53.bat
.\make_win32_luajit.bat
- uses: ilammy/msvc-dev-cmd@v1
- name: Build Luajit
run: |
cd build
.\make_win64_luajit.bat
- name: Upload
uses: actions/upload-artifact@v2
Expand Down
4 changes: 2 additions & 2 deletions build/make_android_luajit_arm64.sh
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,6 @@ mkdir -p build_lj_x86 && cd build_lj_x86
cmake -DUSING_LUAJIT=ON -DANDROID_ABI=x86 -DCMAKE_TOOLCHAIN_FILE=$ANDROID_NDK/build/cmake/android.toolchain.cmake -DANDROID_TOOLCHAIN_NAME=x86-clang -DANDROID_NATIVE_API_LEVEL=android-21 ../
cd "$DIR"
cmake --build build_lj_x86 --config Release
mkdir -p plugin_luajit/Plugins/Android/libs/arm64-v8a/
cp build_lj_x86/libxlua.so plugin_luajit/Plugins/Android/libs/arm64-v8a/libxlua.so
mkdir -p plugin_luajit/Plugins/Android/libs/x86/
cp build_lj_x86/libxlua.so plugin_luajit/Plugins/Android/libs/x86/libxlua.so

0 comments on commit fdc8094

Please sign in to comment.