Skip to content

Fix installation and build using luarocks#33

Merged
ligurio merged 6 commits intomasterfrom
ligurio/gh-27-fix-luarocks
Apr 8, 2025
Merged

Fix installation and build using luarocks#33
ligurio merged 6 commits intomasterfrom
ligurio/gh-27-fix-luarocks

Conversation

@ligurio
Copy link
Copy Markdown
Owner

@ligurio ligurio commented Apr 1, 2025

Fixes #27
Fixes #4

ligurio and others added 2 commits March 31, 2025 20:10
luarocks documentation has been moved from Github's wiki [1] to
repository [2]. The patch fixes a link to description of rockspec
file format.

1. https://github.com/luarocks/luarocks/wiki/
2. https://github.com/luarocks/luarocks/blob/main/docs/index.md
The patch sets all libraries for custom_mutator library in
a one go.
@ligurio ligurio force-pushed the ligurio/gh-27-fix-luarocks branch from 85628e1 to 5a5ee81 Compare April 8, 2025 12:55
@ligurio ligurio requested a review from Buristan April 8, 2025 14:21
@ligurio ligurio force-pushed the ligurio/gh-27-fix-luarocks branch 2 times, most recently from 1fa08b4 to 701b439 Compare April 8, 2025 15:01
ligurio added 2 commits April 8, 2025 18:08
Github Actions breaks `check` workflow due to scheduled
Ubuntu 20.04 brownout. Ubuntu 20.04 LTS runner will be removed on
2025-04-15, see [1]. The patch bumps an Ubuntu version in
workflows.

1. actions/runner-images#11101
The patch fixes regular expression that replaces branch and
version in rockspec before publishing. Regular expression uses
single quotes, but rockspec uses double quotes and this leads to
broken version and branch update.
Follows up commit 866620f ("ci: update publishing steps").
@ligurio ligurio force-pushed the ligurio/gh-27-fix-luarocks branch 2 times, most recently from df0f226 to 1af7491 Compare April 8, 2025 15:27
ligurio added 2 commits April 8, 2025 18:28
The patch fixes a broken build testing steps.
The commit e52d181 ("Initial version") introduced
a versioning for `libcustom_mutator` shared library, but seems it
is not actually needed and `SOVERSION` has been removed. The patch
also added a test that installs the module using luarocks,
set environment variables using luarocks and checks that module
was successfully found by Lua interpreter.

Fixes #4
The patch fixes a wrong installation directory for `init.lua`.
Follows up commit 27c9714 ("luzer: introduce init.lua").

Fixes #27
@ligurio ligurio force-pushed the ligurio/gh-27-fix-luarocks branch from 1af7491 to d75833f Compare April 8, 2025 15:29
@ligurio ligurio merged commit d432fc4 into master Apr 8, 2025
10 checks passed
@ligurio ligurio deleted the ligurio/gh-27-fix-luarocks branch April 8, 2025 15:33
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.

error on loading luzer_impl: loop or previous error loading module 'luzer_impl' Fix building rock

3 participants