Skip to content

Commit

Permalink
ensure Sphinx can access the shared object file (#756)
Browse files Browse the repository at this point in the history
Rye [claims](https://rye.astral.sh/guide/rust/#iterating) that `rye
sync` is sufficient to build the Rust code but that does not appear to
be true. `rye run maturin develop` builds rust and does the equivalent
of `pip install --editable`.
  • Loading branch information
danking authored Sep 5, 2024
1 parent bbbc9fa commit 0fe9e14
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/python-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,16 @@ jobs:
- uses: ./.github/actions/setup-python

- name: build Python docs
working-directory: pyvortex
run: |
set -ex
rye sync
rye run maturin develop
cd docs
rye run sphinx-build -M html . _build --fail-on-warning --keep-going
working-directory: pyvortex/docs
- run: |
- name: commit python docs to gh-pages-bench
run: |
set -ex
this_sha=$(git rev-parse HEAD)
Expand Down

0 comments on commit 0fe9e14

Please sign in to comment.