Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix macOS docs build #2190

Merged
merged 3 commits into from
May 2, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 11 additions & 5 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,11 @@ jobs:
- name: Install Dependencies
run: |
brew install doxygen
python3 -m pip install sphinx -v "sphinx==6.2.1"
python3 -m pip install breathe
python3 -m pip install sphinx-rtd-theme
python3 -m venv .venv
. .venv/bin/activate
pip install sphinx -v "sphinx==6.2.1"
pip install breathe
pip install sphinx-rtd-theme
sphinx-build --version
doxygen --version

Expand Down Expand Up @@ -52,8 +54,10 @@ jobs:
working-directory: kokkos/build
run: make -j2 install

# sphinx needs to be available at configure time for the target to be generated
- name: configure_kokkos_kernels
run: |
. .venv/bin/activate
mkdir -p kokkos-kernels/{build,install}
cd kokkos-kernels/build
cmake \
Expand Down Expand Up @@ -81,5 +85,7 @@ jobs:
fi

- name: build_kokkos_kernels_sphinx
working-directory: kokkos-kernels/build
run: make Sphinx
run: |
. .venv/bin/activate
cd kokkos-kernels/build
make Sphinx