mirror of
https://github.com/fish-shell/fish-shell
synced 2024-11-14 00:47:30 +00:00
87876f19a7
Alpine uses pip, also needs an explicit "python3" now. FreeBSD requires an explicit "py37" apparently. Blergh.
25 lines
563 B
YAML
25 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
|