Skip to content

Commit

Permalink
m1 lua54
Browse files Browse the repository at this point in the history
  • Loading branch information
chexiongsheng committed Jun 19, 2022
1 parent 05440f4 commit fe1c9f2
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@ jobs:
./make_osx_lua53.sh
./make_osx_luajit.sh
./make_osx_silicon_lua53.sh
./make_osx_silicon_lua54.sh
- name: Upload
uses: actions/upload-artifact@v2
with:
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ jobs:
path: ./build/plugin_luajit/**/*
name: plugin_luajit
osx:
runs-on: macos-10.15
runs-on: macos-11

steps:
- uses: actions/checkout@v2
Expand All @@ -103,6 +103,8 @@ jobs:
./make_osx_lua54.sh
./make_osx_lua53.sh
./make_osx_luajit.sh
./make_osx_silicon_lua53.sh
./make_osx_silicon_lua54.sh
- name: Upload
uses: actions/upload-artifact@v2
with:
Expand Down
7 changes: 7 additions & 0 deletions build/make_osx_silicon_lua54.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
mkdir -p build_osx_54_silicon && cd build_osx_54_silicon
cmake -DBUILD_SILICON=ON -DLUA_VERSION=5.4.1 -GXcode ../
cd ..
cmake --build build_osx_54_silicon --config Release
mkdir -p plugin_lua54/Plugins/arm64
cp build_osx_54_silicon/Release/libxlua.dylib plugin_lua54/Plugins/arm64/

0 comments on commit fe1c9f2

Please sign in to comment.