]> git.ipfire.org Git - thirdparty/rspamd.git/commitdiff
[CI] Install luarocks and dependencies for cffi-lua
authorVsevolod Stakhov <vsevolod@rspamd.com>
Fri, 5 Dec 2025 16:58:33 +0000 (16:58 +0000)
committerVsevolod Stakhov <vsevolod@rspamd.com>
Fri, 5 Dec 2025 16:58:33 +0000 (16:58 +0000)
The Fedora CI image doesn't have luarocks pre-installed, so we need
to install it along with lua-devel and libffi-devel before we can
install cffi-lua via luarocks.

.github/workflows/ci_rspamd.yml

index 87bd6a0a35203629e0ae9aa697151a5266522658..cc24c9f71576f030d0c36bb27249a30ed94f3aed 100644 (file)
@@ -44,6 +44,7 @@ jobs:
       - name: Install Lua FFI for non-LuaJIT builds
         if: inputs.enable_luajit == 'OFF'
         run: |
+          sudo dnf install -y luarocks lua-devel libffi-devel
           sudo luarocks install cffi-lua
 
       - name: Run cmake