From 48322ce680bcdc9119272cca6c51299fa58592f2 Mon Sep 17 00:00:00 2001 From: FourierTransformer Date: Mon, 15 Dec 2025 18:31:49 -0600 Subject: [PATCH 1/4] Update ci.yml --- .github/workflows/ci.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 05c1259..b04fe6e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -11,11 +11,11 @@ jobs: lua: [lua=5.1, lua=5.2, lua=5.3, lua=5.4, luajit=2.0, luajit=2.1] include: - os: linux - runner: ubuntu-22.04 + runner: ubuntu-latest - os: macos - runner: macos-13 + runner: macos-15-intel - os: macos-arm64 - runner: macos-14 + runner: macos-latest exclude: - os: macos-arm64 lua: luajit=2.0 @@ -26,7 +26,7 @@ jobs: - uses: actions/checkout@v4 - name: Install Lua (${{ matrix.lua }}) run: | - pip install hererocks + pip install git+https://github.com/luarocks/hererocks hererocks lua_install -r^ --${{ matrix.lua }} env: MACOSX_DEPLOYMENT_TARGET: 11.0 @@ -53,7 +53,7 @@ jobs: - uses: actions/checkout@v4 - name: Install Lua (${{ matrix.lua }}) run: | - pip install hererocks + pip install git+https://github.com/luarocks/hererocks hererocks lua_install -r@28f9d98 --${{ matrix.lua }} --target ${{ matrix.target }} - name: Build lua-simdjson run: | From 3ee171f60b5163e6b0fb95822d39c582c4b99730 Mon Sep 17 00:00:00 2001 From: FourierTransformer Date: Mon, 15 Dec 2025 18:37:37 -0600 Subject: [PATCH 2/4] Upgrade checkout action and add libreadline installation Updated GitHub Actions workflow to use checkout@v6 and added installation of libreadline on Linux. --- .github/workflows/ci.yml | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b04fe6e..5170838 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -23,7 +23,14 @@ jobs: runs-on: ${{ matrix.runner }} steps: # Checks-out the repository under $GITHUB_WORKSPACE. - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 + - name: Install libreadline on linux + run: | + if [ "$RUNNER_OS" == "Linux" ]; then + sudo apt-get install -y libreadline-dev + fi + shell: bash + - name: Install Lua (${{ matrix.lua }}) run: | pip install git+https://github.com/luarocks/hererocks @@ -50,10 +57,10 @@ jobs: runs-on: windows-2022 steps: # Checks-out the repository under $GITHUB_WORKSPACE. - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 - name: Install Lua (${{ matrix.lua }}) run: | - pip install git+https://github.com/luarocks/hererocks + pip install hererocks hererocks lua_install -r@28f9d98 --${{ matrix.lua }} --target ${{ matrix.target }} - name: Build lua-simdjson run: | From f50da7b692c4d1deda28cc6cc077947d2b6f3738 Mon Sep 17 00:00:00 2001 From: FourierTransformer Date: Mon, 15 Dec 2025 18:45:24 -0600 Subject: [PATCH 3/4] Update Makefile --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index f86f0fd..0cb6217 100644 --- a/Makefile +++ b/Makefile @@ -5,7 +5,7 @@ LDFLAGS = $(LIBFLAG) LDLIBS = -lpthread ifdef LUA_LIBDIR -LDLIBS += $(LUA_LIBDIR) +LDLIBS += $(LUA_LIBDIR)/$(LUALIB) endif ifeq ($(OS),Windows_NT) @@ -38,4 +38,4 @@ clean: rm -f *.$(LIBEXT) src/*.{o,d} install: $(TARGET) - cp $(TARGET) $(INST_LIBDIR) \ No newline at end of file + cp $(TARGET) $(INST_LIBDIR) From 7cf59f362eeb04dc8bf230c6b5fc2bf8abcbb7cf Mon Sep 17 00:00:00 2001 From: FourierTransformer Date: Mon, 15 Dec 2025 18:53:19 -0600 Subject: [PATCH 4/4] Update hererocks installation command in CI workflow --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5170838..4f4745b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -60,8 +60,8 @@ jobs: - uses: actions/checkout@v6 - name: Install Lua (${{ matrix.lua }}) run: | - pip install hererocks - hererocks lua_install -r@28f9d98 --${{ matrix.lua }} --target ${{ matrix.target }} + pip install git+https://github.com/luarocks/hererocks + hererocks lua_install -r^ --${{ matrix.lua }} --target ${{ matrix.target }} - name: Build lua-simdjson run: | .\lua_install\bin\activate