Skip to content

Commit fe1c9f2

Browse files
committed
m1 lua54
1 parent 05440f4 commit fe1c9f2

File tree

3 files changed

+11
-1
lines changed

3 files changed

+11
-1
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,7 @@ jobs:
103103
./make_osx_lua53.sh
104104
./make_osx_luajit.sh
105105
./make_osx_silicon_lua53.sh
106+
./make_osx_silicon_lua54.sh
106107
- name: Upload
107108
uses: actions/upload-artifact@v2
108109
with:

.github/workflows/publish.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ jobs:
9393
path: ./build/plugin_luajit/**/*
9494
name: plugin_luajit
9595
osx:
96-
runs-on: macos-10.15
96+
runs-on: macos-11
9797

9898
steps:
9999
- uses: actions/checkout@v2
@@ -103,6 +103,8 @@ jobs:
103103
./make_osx_lua54.sh
104104
./make_osx_lua53.sh
105105
./make_osx_luajit.sh
106+
./make_osx_silicon_lua53.sh
107+
./make_osx_silicon_lua54.sh
106108
- name: Upload
107109
uses: actions/upload-artifact@v2
108110
with:

build/make_osx_silicon_lua54.sh

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
mkdir -p build_osx_54_silicon && cd build_osx_54_silicon
2+
cmake -DBUILD_SILICON=ON -DLUA_VERSION=5.4.1 -GXcode ../
3+
cd ..
4+
cmake --build build_osx_54_silicon --config Release
5+
mkdir -p plugin_lua54/Plugins/arm64
6+
cp build_osx_54_silicon/Release/libxlua.dylib plugin_lua54/Plugins/arm64/
7+

0 commit comments

Comments
 (0)