Skip to content

Fix luarocks targeting lua5.1 instead of lua5.5 on Linux CI#11

Draft
Copilot wants to merge 2 commits into
lua5.5_on_linux_and_macosfrom
copilot/fix-gihtub-actions-job
Draft

Fix luarocks targeting lua5.1 instead of lua5.5 on Linux CI#11
Copilot wants to merge 2 commits into
lua5.5_on_linux_and_macosfrom
copilot/fix-gihtub-actions-job

Conversation

Copilot AI commented Jun 27, 2026

Copy link
Copy Markdown

apt-get install luarocks hardcodes lua5.1 as the default interpreter. On the ubuntu-26.04 matrix jobs, luarocks --local make installs the module to lib/lua/5.1/, causing lua5.5 tests/test_py.lua to fail with error loading module 'python'.

Changes

  • .github/workflows/ci.yml: add luarocks config lua_interpreter lua${{ matrix.lua-version }} immediately after the Linux apt-get install step, so all subsequent luarocks commands (lint, make, show, test) operate against the correct Lua version.

Copilot AI changed the title Fix: configure luarocks to use correct Lua version on Linux Fix luarocks targeting lua5.1 instead of lua5.5 on Linux CI Jun 27, 2026
Copilot AI requested a review from cclauss June 27, 2026 10:43
@cclauss cclauss force-pushed the lua5.5_on_linux_and_macos branch 3 times, most recently from 545de80 to 32416fd Compare June 27, 2026 10:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants