mirror of
https://github.com/ivabus/pantry
synced 2024-11-22 08:25:07 +03:00
fix(luarocks)
more general solution for archlinux too
This commit is contained in:
parent
d713c05c69
commit
35af65401d
1 changed files with 2 additions and 7 deletions
|
@ -73,12 +73,7 @@ test:
|
||||||
gnu.org/gcc: '*'
|
gnu.org/gcc: '*'
|
||||||
curl.se: '*'
|
curl.se: '*'
|
||||||
script:
|
script:
|
||||||
|
- run: EXTRA_ARGS="RT_LIBDIR=$(dirname $(find /usr/lib -name librt.a | head -n1))"
|
||||||
|
if: linux
|
||||||
- test "$(luarocks --version | awk 'NR==1 {print $NF}')" = "{{version.raw}}"
|
- test "$(luarocks --version | awk 'NR==1 {print $NF}')" = "{{version.raw}}"
|
||||||
- luarocks install busted $EXTRA_ARGS
|
- luarocks install busted $EXTRA_ARGS
|
||||||
env:
|
|
||||||
# some of lua components want this set to build, even though librt has been
|
|
||||||
# part of glibc since 2.35
|
|
||||||
linux/aarch64:
|
|
||||||
EXTRA_ARGS: RT_LIBDIR=/usr/lib/aarch64-linux-gnu
|
|
||||||
linux/x86-64:
|
|
||||||
EXTRA_ARGS: RT_LIBDIR=/usr/lib/x86_64-linux-gnu
|
|
||||||
|
|
Loading…
Reference in a new issue