fish-shell/.builds/alpine.yml
Fabian Homborg 87876f19a7 srht builds: Switch to pexpect
Alpine uses pip, also needs an explicit "python3" now.

FreeBSD requires an explicit "py37" apparently. Blergh.
2020-06-13 19:52:47 +02:00

26 lines
563 B
YAML

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 SHOW_INTERACTIVE_LOG=1 ninja test