mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-30 06:03:49 +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.
24 lines
520 B
YAML
24 lines
520 B
YAML
image: alpine/edge
|
|
packages:
|
|
- cmake
|
|
- ninja
|
|
- ncurses-dev
|
|
- pcre2-dev
|
|
- expect
|
|
sources:
|
|
- https://git.sr.ht/~faho/fish
|
|
tasks:
|
|
- build: |
|
|
cd fish
|
|
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/build
|
|
env SHOW_INTERACTIVE_LOG=1 ninja test
|