mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-27 05:13:10 +00: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.
23 lines
520 B
YAML
23 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
|