From d22eb60b76ac2f35ed0ea8310d7bd07a8f0d2d2d Mon Sep 17 00:00:00 2001 From: cat Date: Thu, 19 Feb 2026 18:01:24 +0300 Subject: [PATCH] compile fish --- .forgejo/workflows/test.yml | 30 +++++++++++++----------------- 1 file changed, 13 insertions(+), 17 deletions(-) diff --git a/.forgejo/workflows/test.yml b/.forgejo/workflows/test.yml index a934083..8e53a62 100644 --- a/.forgejo/workflows/test.yml +++ b/.forgejo/workflows/test.yml @@ -7,35 +7,31 @@ on: jobs: compile-fish: - runs-on: archlinux-latest + runs-on: archlinux:latest container: image: archlinux:latest steps: - - name: install packages and prepare source 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 - tar -xvf fish-4.5.0.tar.xz + tar -xf fish-4.5.0.tar.xz - name: compile fish run: | 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[@]}" + cmake -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 \ + -Wno-dev make -C build VERBOSE=1 cmake --install build - - name: run fish - run: fish \ No newline at end of file + run: | + /usr/bin/fish --version \ No newline at end of file