compile fish
Some checks failed
compile fish / compile-fish (push) Failing after 2m13s

This commit is contained in:
catmpeg 2026-02-19 17:57:24 +03:00
commit 032b431746

View file

@ -1,4 +1,4 @@
name: compile zsh
name: compile fish
on:
push:
@ -6,7 +6,7 @@ on:
- main
jobs:
compile-zsh:
compile-fish:
runs-on: archlinux-latest
container:
image: archlinux:latest
@ -15,20 +15,27 @@ jobs:
- name: install packages and prepare source
run: |
pacman -Sy wget base-devel pcre2 libcap gdbm yodl --noconfirm
wget https://www.zsh.org/pub/zsh-5.9.tar.xz
tar -xvf zsh-5.9.tar.xz
pacman -Sy wget base-devel cmake git jq rust python-sphinx glibc libgcc pcre2 --noconfirm
wget https://github.com/fish-shell/fish-shell/releases/download/4.5.0/fish-4.5.0.tar.xz
tar -xvf fish-4.5.0.tar.xz
- name: compile zsh
- name: compile fish
run: |
cd zsh-5.9
./configure --prefix=/usr \
--sysconfdir=/etc/zsh \
--enable-etcdir=/etc/zsh \
--enable-cap \
--enable-gdbm
make -j$(nproc)
make install
cd fish-4.5.0
local cmake_options=(
-B build
-D CMAKE_INSTALL_PREFIX=/usr
-D CMAKE_INSTALL_SYSCONFDIR=/etc
-D CMAKE_BUILD_TYPE=Release
-D WITH_DOCS=ON
-D FISH_USE_SYSTEM_PCRE2=ON
-D WITH_MESSAGE_LOCALIZATION=ON
-W no-dev
)
cmake "${cmake_options[@]}"
make -C build VERBOSE=1
cmake --install build
- name: run zsh
run: zsh
- name: run fish
run: fish