2018-12-12 20:47:29 +08:00
|
|
|
image: freebsd/latest
|
|
|
|
packages:
|
2024-01-06 20:42:13 +08:00
|
|
|
- cmake
|
2018-12-12 20:47:29 +08:00
|
|
|
- gcc
|
|
|
|
- gettext
|
|
|
|
- gmake
|
2024-01-06 20:42:13 +08:00
|
|
|
- llvm
|
|
|
|
- ncurses
|
|
|
|
- ninja
|
2018-12-12 20:47:29 +08:00
|
|
|
- pcre2
|
2024-01-06 20:42:13 +08:00
|
|
|
- py39-pexpect
|
2019-06-26 01:17:53 +08:00
|
|
|
- python
|
2024-01-06 20:42:13 +08:00
|
|
|
- rust
|
2018-12-12 20:47:29 +08:00
|
|
|
sources:
|
2024-01-06 20:42:13 +08:00
|
|
|
- https://github.com/fish-shell/fish-shell
|
2018-12-12 20:47:29 +08:00
|
|
|
tasks:
|
|
|
|
- build: |
|
2024-01-06 20:42:13 +08:00
|
|
|
cd fish-shell
|
|
|
|
mkdir build
|
2018-12-12 20:47:29 +08:00
|
|
|
cd build
|
2024-01-06 20:42:13 +08:00
|
|
|
cmake -GNinja .. \
|
|
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
|
|
-DCMAKE_INSTALL_DATADIR=share \
|
|
|
|
-DCMAKE_INSTALL_DOCDIR=share/doc/fish \
|
|
|
|
-DCMAKE_INSTALL_SYSCONFDIR=/etc
|
|
|
|
ninja
|
2018-12-12 20:47:29 +08:00
|
|
|
- test: |
|
2024-01-06 20:42:13 +08:00
|
|
|
cd fish-shell/build
|
|
|
|
ninja test
|