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
|
||||
git-scm.org: ^2
|
||||
info-zip.org/unzip: '*'
|
||||
|
||||
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_INSTALL_PREFIX="{{prefix}}"
|
||||
install
|
||||
env:
|
||||
linux/aarch64:
|
||||
RT_LIBDIR: /usr/lib/aarch64-linux-gnu
|
||||
linux/x86-64:
|
||||
RT_LIBDIR: /usr/lib/x86_64-linux-gnu
|
||||
|
||||
test:
|
||||
script:
|
||||
echo "$FIXTURE vim!!" > fixture
|
||||
nvim --headless -i NONE -u NONE '+s/vim/neovim/g' +wq fixture
|
||||
test "Hello World from neovim!!" = "$(cat fixture) neovim!!"
|
||||
- echo "$FIXTURE vim\!\!" > fixture
|
||||
- nvim --headless -i NONE -u NONE '+s/vim/neovim/g' +wq fixture
|
||||
- test "Hello World from neovim\!\!" = "$(cat fixture)"
|
||||
env:
|
||||
FIXTURE: "Hello World from "
|
||||
FIXTURE: 'Hello World from '
|
||||
|
||||
provides:
|
||||
- bin/nvim
|
||||
|
|
Loading…
Reference in a new issue