compile fish
Some checks failed
compile fish / compile-fish (push) Has been cancelled

This commit is contained in:
catmpeg 2026-02-19 18:01:24 +03:00
commit d22eb60b76

View file

@ -7,35 +7,31 @@ on:
jobs: jobs:
compile-fish: compile-fish:
runs-on: archlinux-latest runs-on: archlinux:latest
container: container:
image: archlinux:latest image: archlinux:latest
steps: steps:
- name: install packages and prepare source - name: install packages and prepare source
run: | run: |
pacman -Sy wget base-devel cmake git jq rust python-sphinx glibc libgcc pcre2 --noconfirm pacman -Sy --noconfirm wget base-devel cmake git jq rust python-sphinx glibc libgcc pcre2
wget https://github.com/fish-shell/fish-shell/releases/download/4.5.0/fish-4.5.0.tar.xz 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 tar -xf fish-4.5.0.tar.xz
- name: compile fish - name: compile fish
run: | run: |
cd fish-4.5.0 cd fish-4.5.0
local cmake_options=( cmake -B build \
-B build -D CMAKE_INSTALL_PREFIX=/usr \
-D CMAKE_INSTALL_PREFIX=/usr -D CMAKE_INSTALL_SYSCONFDIR=/etc \
-D CMAKE_INSTALL_SYSCONFDIR=/etc -D CMAKE_BUILD_TYPE=Release \
-D CMAKE_BUILD_TYPE=Release -D WITH_DOCS=ON \
-D WITH_DOCS=ON -D FISH_USE_SYSTEM_PCRE2=ON \
-D FISH_USE_SYSTEM_PCRE2=ON -D WITH_MESSAGE_LOCALIZATION=ON \
-D WITH_MESSAGE_LOCALIZATION=ON
-Wno-dev -Wno-dev
)
cmake "${cmake_options[@]}"
make -C build VERBOSE=1 make -C build VERBOSE=1
cmake --install build cmake --install build
- name: run fish - name: run fish
run: fish run: |
/usr/bin/fish --version