Use released 8.2.0 sphinx #56
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Python wheel | |
on: [push] | |
jobs: | |
compile: | |
name: ${{ matrix.cfg.os }} | |
runs-on: ${{ matrix.cfg.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
cfg: | |
- { os: ubuntu-latest } | |
- { os: windows-2022 } | |
- { os: macos-latest } | |
steps: | |
- name: Export GitHub Actions cache environment variables | |
uses: actions/github-script@v7 | |
with: | |
script: | | |
core.exportVariable('ACTIONS_CACHE_URL', process.env.ACTIONS_CACHE_URL || ''); | |
core.exportVariable('ACTIONS_RUNTIME_TOKEN', process.env.ACTIONS_RUNTIME_TOKEN || ''); | |
- uses: actions/checkout@v4 | |
with: | |
submodules: true | |
- uses: actions-rust-lang/setup-rust-toolchain@v1 | |
- uses: prefix-dev/[email protected] | |
- uses: taiki-e/install-action@v2 | |
with: | |
tool: just,sd,fd-find,cargo-vcpkg,cargo-nextest | |
- name: Build the C++ dependencies using vcpkg | |
env: | |
VCPKG_BINARY_SOURCES: "clear;x-gha,readwrite" | |
run: just bootstrap | |
- name: Build the wheel in develop mode and run the unit tests | |
run: just test | |
- name: Generate python binding docs | |
run: just pydoc |