Update sourcehut FreeBSD config

This commit is contained in:
Johannes Altmanninger 2024-01-06 13:42:13 +01:00
parent f42b7d30b3
commit cfd1e760a4

View File

@ -1,26 +1,29 @@
image: freebsd/latest image: freebsd/latest
packages: packages:
- ncurses - cmake
- gcc - gcc
- gettext - gettext
- cmake
- gmake - gmake
- llvm
- ncurses
- ninja
- pcre2 - pcre2
- py39-pexpect
- python - python
- py38-pexpect - rust
sources: sources:
- https://git.sr.ht/~faho/fish - https://github.com/fish-shell/fish-shell
tasks: tasks:
- build: | - build: |
cd fish cd fish-shell
mkdir build || : mkdir build
cd build cd build
cmake .. \ cmake -GNinja .. \
-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
gmake -j2 ninja
- test: | - test: |
cd fish/build cd fish-shell/build
gmake test ninja test