mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-24 03:40:01 +08:00
24 lines
520 B
YAML
24 lines
520 B
YAML
|
image: alpine/edge
|
||
|
packages:
|
||
|
- cmake
|
||
|
- ninja
|
||
|
- ncurses-dev
|
||
|
- pcre2-dev
|
||
|
- expect
|
||
|
sources:
|
||
|
- https://git.sr.ht/~faho/fish
|
||
|
tasks:
|
||
|
- build: |
|
||
|
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
|