mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-25 09:39:52 +08:00
27 lines
565 B
YAML
27 lines
565 B
YAML
image: alpine/edge
|
|
packages:
|
|
- cargo
|
|
- clang17-libclang
|
|
- cmake
|
|
- ninja
|
|
- pcre2-dev
|
|
- py3-pexpect
|
|
- python3
|
|
- rust
|
|
sources:
|
|
- https://github.com/fish-shell/fish-shell
|
|
tasks:
|
|
- build: |
|
|
cd fish-shell
|
|
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-shell/build
|
|
env ninja test
|