fish-shell/.builds/alpine.yml

26 lines
540 B
YAML
Raw Normal View History

image: alpine/edge
packages:
- cmake
- ninja
- ncurses-dev
- pcre2-dev
- python3
- py-pip
sources:
- https://git.sr.ht/~faho/fish
tasks:
- build: |
pip3 install pexpect
cd fish
mkdir build || :
cd build
cmake -G Ninja .. \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_DATADIR=share \
-DCMAKE_INSTALL_DOCDIR=share/doc/fish \
-DCMAKE_INSTALL_SYSCONFDIR=/etc
ninja
- test: |
cd fish/build
env ninja test