Skip to content

Commit

Permalink
Try to fix RDT build (back to "jobs")
Browse files Browse the repository at this point in the history
  • Loading branch information
paugier committed Dec 2, 2022
1 parent 34c6767 commit 8837551
Showing 1 changed file with 8 additions and 13 deletions.
21 changes: 8 additions & 13 deletions .readthedocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,19 +9,14 @@ build:
- gfortran
- libopenmpi-dev
# - graphviz
commands:
- git checkout main
- git pull --unshallow
# - apt-get update --assume-yes --quiet
# - apt-get install --assume-yes --quiet -- build-essential gfortran libopenmpi-dev
- git clone --depth=1 https://github.com/snek5000/Nek5000_for_snek.git /home/docs/Nek5000
- ls $NEK_SOURCE_ROOT
- cat docs/conf.py
- python -m virtualenv /home/docs/checkouts/readthedocs.org/user_builds/snek5000/envs/latest
- /home/docs/checkouts/readthedocs.org/user_builds/snek5000/envs/latest/bin/python -m pip install --upgrade --no-cache-dir pip nox
- /home/docs/checkouts/readthedocs.org/user_builds/snek5000/envs/latest/bin/python -m nox --session docs
- mkdir _readthedocs
- mv -r docs/_build/html _readthedocs
jobs:
pre_create_environment:
# such that setuptools_scm can get the correct version
- git checkout main
- git pull --unshallow
pre_build:
- git clone --depth=1 https://github.com/snek5000/Nek5000_for_snek.git /home/docs/Nek5000
- ls $NEK_SOURCE_ROOT

# Optionally set the version of Python and requirements required to build your
# docs
Expand Down

0 comments on commit 8837551

Please sign in to comment.