mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-04-20 07:31:11 -03:00
In future, we should ask "renovatebot" to update these version. I don't have an opinion on whether to use "uv" or something else, but I think we do want lockfiles, and I don't know of a natural way to install Sphinx via Cargo. No particular reason for this Python version. Part of #11996
42 lines
978 B
YAML
42 lines
978 B
YAML
name: Install dependencies for system tests
|
|
|
|
inputs:
|
|
include_sphinx:
|
|
description: Whether to install Sphinx
|
|
required: true
|
|
default: false
|
|
include_pcre:
|
|
description: Whether to install the PCRE library
|
|
required: false
|
|
default: true
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
runs:
|
|
using: "composite"
|
|
steps:
|
|
- shell: bash
|
|
env:
|
|
include_pcre: ${{ inputs.include_pcre }}
|
|
run: |
|
|
set -x
|
|
: "optional dependencies"
|
|
sudo apt install \
|
|
gettext \
|
|
$(if $include_pcre; then echo libpcre2-dev; fi) \
|
|
;
|
|
: "system test dependencies"
|
|
sudo apt install \
|
|
diffutils $(: "for diff") \
|
|
git \
|
|
gettext \
|
|
less \
|
|
$(if ${{ inputs.include_pcre }}; then echo libpcre2-dev; fi) \
|
|
python3-pexpect \
|
|
tmux \
|
|
wget \
|
|
;
|
|
- uses: ./.github/actions/install-sphinx
|
|
if: ${{ inputs.include_sphinx == 'true' }}
|