workflowtest/.forgejo/workflows/test.yml
cat 13e8813ea8
All checks were successful
compile fish / compile-fish (push) Successful in 3m6s
compile fish это капец я устал
2026-02-19 18:02:25 +03:00

37 lines
No EOL
972 B
YAML

name: compile fish
on:
push:
branches:
- main
jobs:
compile-fish:
runs-on: archlinux-latest
container:
image: archlinux:latest
steps:
- name: install packages and prepare source
run: |
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 -xf fish-4.5.0.tar.xz
- name: compile fish
run: |
cd fish-4.5.0
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: |
/usr/bin/fish --version