Update alpine build config

This commit is contained in:
Johannes Altmanninger 2024-01-07 02:46:05 +01:00
parent 7f110ed4c0
commit 3e31de295a

View file

@ -1,25 +1,27 @@
image: alpine/edge image: alpine/edge
packages: packages:
- cargo
- clang17-libclang
- cmake - cmake
- ninja
- ncurses-dev - ncurses-dev
- ninja
- pcre2-dev - pcre2-dev
- py3-pexpect
- python3 - python3
- py-pip - rust
sources: sources:
- https://git.sr.ht/~faho/fish - https://github.com/fish-shell/fish-shell
tasks: tasks:
- build: | - build: |
pip3 install pexpect cd fish-shell
cd fish mkdir build
mkdir build || :
cd build cd build
cmake -G Ninja .. \ cmake -G Ninja .. \
-DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_DATADIR=share \ -DCMAKE_INSTALL_DATADIR=share \
-DCMAKE_INSTALL_DOCDIR=share/doc/fish \ -DCMAKE_INSTALL_DOCDIR=share/doc/fish \
-DCMAKE_INSTALL_SYSCONFDIR=/etc -DCMAKE_INSTALL_SYSCONFDIR=/etc
ninja ninja
- test: | - test: |
cd fish/build cd fish-shell/build
env ninja test env ninja test