mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-05-31 20:31:19 -03:00
Install Sphinx in macOS CI/CD
Looks like macOS packages didn't have docs?? I noticed via our Cargo warning about sphinx-build. macOS has a variety of pythons installed: bash-3.2$ type -a python python3 python is /Library/Frameworks/Python.framework/Versions/Current/bin/python python3 is /opt/homebrew/bin/python3 python3 is /usr/local/bin/python3 python3 is /Library/Frameworks/Python.framework/Versions/Current/bin/python3 python3 is /usr/bin/python3 by default, "uv --no-managed-python" uses python3 (homebrew), but "python" (and "pip") use the other one. Make uv use the same as our scripts. Not all uv commands support "--python" today, so set UV_PYTHON.
This commit is contained in:
1
.github/workflows/release.yml
vendored
1
.github/workflows/release.yml
vendored
@@ -152,6 +152,7 @@ jobs:
|
||||
targets: aarch64-apple-darwin,x86_64-apple-darwin
|
||||
- name: Install dependencies
|
||||
run: brew install gettext
|
||||
- uses: ./.github/actions/install-sphinx
|
||||
- name: Build and codesign
|
||||
run: |
|
||||
die() { echo >&2 "$*"; exit 1; }
|
||||
|
||||
Reference in New Issue
Block a user