Skip to content

Commit

Permalink
Checking if docs difference is due to cpu / gpu installation
Browse files Browse the repository at this point in the history
  • Loading branch information
GDeLaurentis committed Aug 6, 2024
1 parent 8d0f8de commit 13cb678
Showing 1 changed file with 13 additions and 3 deletions.
16 changes: 13 additions & 3 deletions .github/workflows/cd_docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
jobs:

BuildDocs:
runs-on: ubuntu-latest
runs-on: [self-hosted]

steps:
- uses: actions/checkout@v4
Expand All @@ -23,11 +23,21 @@ jobs:
with:
path: .

- name: Make CUDA discoverable
run: |
export CPATH="/usr/include/python3.10:${CPATH}"
export CPATH="/home/docker/actions-runner/_work/_tool/Python/3.10.13/x64:${CPATH}"
export PATH="/usr/local/cuda-12.2/bin:${PATH}"
export LD_LIBRARY_PATH="/usr/local/cuda-12.2/lib64:${LD_LIBRARY_PATH}"
echo "$PATH" && echo "$LD_LIBRARY_PATH" && nvcc --version && nvidia-smi
ls /usr/include/python3.10
ls /home/docker/actions-runner/_work/_tool/Python/3.10.13/x64
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install sphinx sphinx-rtd-theme sphinx-autodoc
pip install -e .
pip install sphinx sphinx-rtd-theme
pip install .[tests]
- name: Build docs
run: |
Expand Down

0 comments on commit 13cb678

Please sign in to comment.