mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-12-18 12:33:38 +08:00
fdc4246fff
Enable builds on builds.sr.ht for freebsd and arch, and alpine (which uses musl). All are built using cmake, as we want to drop the autotools build.
26 lines
526 B
YAML
26 lines
526 B
YAML
image: freebsd/latest
|
|
packages:
|
|
- ncurses
|
|
- gcc
|
|
- gettext
|
|
- expect
|
|
- cmake
|
|
- gmake
|
|
- pcre2
|
|
sources:
|
|
- https://git.sr.ht/~faho/fish
|
|
tasks:
|
|
- build: |
|
|
cd fish
|
|
mkdir build || :
|
|
cd build
|
|
cmake .. \
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
-DCMAKE_INSTALL_DATADIR=share \
|
|
-DCMAKE_INSTALL_DOCDIR=share/doc/fish \
|
|
-DCMAKE_INSTALL_SYSCONFDIR=/etc
|
|
gmake -j2
|
|
- test: |
|
|
cd fish/build
|
|
gmake test SHOW_INTERACTIVE_LOG=1
|