From 908ba0e4f1b3adc178beec5a68c7ca64be867f54 Mon Sep 17 00:00:00 2001 From: Martin <205458877+SignalFromTheStars@users.noreply.github.com> Date: Sat, 31 Jan 2026 13:42:24 +0100 Subject: [PATCH 1/4] test ci arm64 osx output --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 213aead..b74cf25 100644 --- a/Makefile +++ b/Makefile @@ -45,7 +45,7 @@ luajit-osx: lipo -create -output $(LUAJIT_PATH)/src/luajit $(LUAJIT_PATH)/src/luajit_x86_64 $(LUAJIT_PATH)/src/luajit_arm64 osx: luajit-osx - $(CXX) $(SRC) $(CPP_FLAGS) -arch arm64 ${STEAM_LIB}/osx/libsteam_api.dylib $(LUAJIT_PATH)/src/libluajit.a -o $(OSX_OUT).arm64 -shared -fPIC $(OSX_FLAGS) + $(CXX) $(SRC) $(CPP_FLAGS) -arch arm64 ${STEAM_LIB}/osx/libsteam_api.dylib -undefined dynamic_lookup -o $(OSX_OUT).arm64 -shared -fPIC $(OSX_FLAGS) $(CXX) $(SRC) $(CPP_FLAGS) -arch x86_64 ${STEAM_LIB}/osx/libsteam_api.dylib $(LUAJIT_PATH)/src/libluajit.a -o $(OSX_OUT).x86_64 -shared -fPIC $(OSX_FLAGS) lipo -create -output $(OSX_OUT) $(OSX_OUT).arm64 $(OSX_OUT).x86_64 codesign -s - $(OSX_OUT) From 92fd1c7e6274a184eba912f156ebb3155790c72f Mon Sep 17 00:00:00 2001 From: Martin <205458877+SignalFromTheStars@users.noreply.github.com> Date: Sat, 31 Jan 2026 14:02:38 +0100 Subject: [PATCH 2/4] dynamic_lookup x86_64 --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index b74cf25..873a126 100644 --- a/Makefile +++ b/Makefile @@ -46,7 +46,7 @@ luajit-osx: osx: luajit-osx $(CXX) $(SRC) $(CPP_FLAGS) -arch arm64 ${STEAM_LIB}/osx/libsteam_api.dylib -undefined dynamic_lookup -o $(OSX_OUT).arm64 -shared -fPIC $(OSX_FLAGS) - $(CXX) $(SRC) $(CPP_FLAGS) -arch x86_64 ${STEAM_LIB}/osx/libsteam_api.dylib $(LUAJIT_PATH)/src/libluajit.a -o $(OSX_OUT).x86_64 -shared -fPIC $(OSX_FLAGS) + $(CXX) $(SRC) $(CPP_FLAGS) -arch x86_64 ${STEAM_LIB}/osx/libsteam_api.dylib -undefined dynamic_lookup -o $(OSX_OUT).x86_64 -shared -fPIC $(OSX_FLAGS) lipo -create -output $(OSX_OUT) $(OSX_OUT).arm64 $(OSX_OUT).x86_64 codesign -s - $(OSX_OUT) # Test From 9bd95bdb06e842331061629c6f643cbf718f84f9 Mon Sep 17 00:00:00 2001 From: Martin <205458877+SignalFromTheStars@users.noreply.github.com> Date: Sat, 31 Jan 2026 14:06:48 +0100 Subject: [PATCH 3/4] debug .so dir --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 243574c..06090d8 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -49,7 +49,7 @@ jobs: curl -u SignalFromTheStars:${{ secrets.SDK_TOKEN }} -sL https://raw.githubusercontent.com/SignalFromTheStars/private-steamworks-sdk/master/steamworks_sdk_163.zip -o sdk.zip unzip -q sdk.zip - name: Build - run: make osx && mkdir -p build && cp luasteam.so build/osx_luasteam.so + run: make osx && mkdir -p build && cp luasteam.so build/osx_luasteam.so && ls -la - name: Upload artifacts uses: actions/upload-artifact@v4 with: From c78f8db0d87dcd9ab7db47199306857a6a9b9ac1 Mon Sep 17 00:00:00 2001 From: Martin <205458877+SignalFromTheStars@users.noreply.github.com> Date: Sat, 31 Jan 2026 14:09:03 +0100 Subject: [PATCH 4/4] output osx arm64 and x86_64 --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 06090d8..6714f02 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -49,7 +49,7 @@ jobs: curl -u SignalFromTheStars:${{ secrets.SDK_TOKEN }} -sL https://raw.githubusercontent.com/SignalFromTheStars/private-steamworks-sdk/master/steamworks_sdk_163.zip -o sdk.zip unzip -q sdk.zip - name: Build - run: make osx && mkdir -p build && cp luasteam.so build/osx_luasteam.so && ls -la + run: make osx && mkdir -p build && cp luasteam.so.arm64 build/osx_arm64_luasteam.so && cp luasteam.so.x86_64 build/osx_x86_64_luasteam.so - name: Upload artifacts uses: actions/upload-artifact@v4 with: