mirror of
https://github.com/ivabus/pantry
synced 2024-11-22 08:25:07 +03:00
parent
6b3e059562
commit
18b2254ecf
1 changed files with 19 additions and 6 deletions
|
@ -18,20 +18,33 @@ build:
|
||||||
gnu.org/libtool: ^2
|
gnu.org/libtool: ^2
|
||||||
git-scm.org: ^2
|
git-scm.org: ^2
|
||||||
info-zip.org/unzip: '*'
|
info-zip.org/unzip: '*'
|
||||||
|
|
||||||
script:
|
script:
|
||||||
make
|
- run: |
|
||||||
|
sed -i.bak \
|
||||||
|
-e "1i\
|
||||||
|
set(RT_LIBDIR \"$RT_LIBDIR\")" \
|
||||||
|
-e 's/\(build busted [0-9]\+\.[0-9]\+\.[0-9]\+\)/\1 RT_LIBDIR=${RT_LIBDIR}/' \
|
||||||
|
BuildLuarocks.cmake
|
||||||
|
rm BuildLuarocks.cmake.bak
|
||||||
|
working-directory: cmake.deps/cmake
|
||||||
|
if: linux
|
||||||
|
- make
|
||||||
CMAKE_BUILD_TYPE=RelWithDebInfo
|
CMAKE_BUILD_TYPE=RelWithDebInfo
|
||||||
CMAKE_INSTALL_PREFIX="{{prefix}}"
|
CMAKE_INSTALL_PREFIX="{{prefix}}"
|
||||||
install
|
install
|
||||||
|
env:
|
||||||
|
linux/aarch64:
|
||||||
|
RT_LIBDIR: /usr/lib/aarch64-linux-gnu
|
||||||
|
linux/x86-64:
|
||||||
|
RT_LIBDIR: /usr/lib/x86_64-linux-gnu
|
||||||
|
|
||||||
test:
|
test:
|
||||||
script:
|
script:
|
||||||
echo "$FIXTURE vim!!" > fixture
|
- echo "$FIXTURE vim\!\!" > fixture
|
||||||
nvim --headless -i NONE -u NONE '+s/vim/neovim/g' +wq fixture
|
- nvim --headless -i NONE -u NONE '+s/vim/neovim/g' +wq fixture
|
||||||
test "Hello World from neovim!!" = "$(cat fixture) neovim!!"
|
- test "Hello World from neovim\!\!" = "$(cat fixture)"
|
||||||
env:
|
env:
|
||||||
FIXTURE: "Hello World from "
|
FIXTURE: 'Hello World from '
|
||||||
|
|
||||||
provides:
|
provides:
|
||||||
- bin/nvim
|
- bin/nvim
|
||||||
|
|
Loading…
Reference in a new issue