diff options
author | Ross Barnowski <rossbar@berkeley.edu> | 2020-07-30 17:58:44 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-30 17:58:44 -0700 |
commit | 0c0112b527f8d9d6c8b61878e2d0635aa61c71bc (patch) | |
tree | 86107d2640e3437885df5dd9311c7bf965571638 /.circleci | |
parent | 887515c68b0b2377950b3a8149b15381faac9a7a (diff) | |
download | networkx-0c0112b527f8d9d6c8b61878e2d0635aa61c71bc.tar.gz |
CI: Setup circle CI for documentation builds (#4119)
* Add .circleci/config.yml
* WIP: Update circleCI config for docbuilding
* WIP: update graphviz deps
* WIP: Add missing nx step to config
* CI: Fix path to build artifact
* CI: Add gh-action to link to circleci artifact
* CI: Fix artifact path
Diffstat (limited to '.circleci')
-rw-r--r-- | .circleci/config.yml | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/.circleci/config.yml b/.circleci/config.yml new file mode 100644 index 00000000..f6ae82fc --- /dev/null +++ b/.circleci/config.yml @@ -0,0 +1,41 @@ +# See: https://circleci.com/docs/2.0/language-python/ + +version: 2 +jobs: + build: + working_directory: ~/repo + docker: + - image: circleci/python:3.8.2 + + steps: + - checkout + + - run: + name: install_graphviz + command: | + sudo apt-get install graphviz libgraphviz-dev + + - run: + name: install_dependencies + command: | + python3 -m venv venv + source venv/bin/activate + pip install -r requirements.txt + pip install -r requirements/doc.txt + pip install -r requirements/optional.txt + pip install pydot pygraphviz + + - run: + name: install + command: | + source venv/bin/activate + pip install -e . + + - run: + name: build_docs + command: | + source venv/bin/activate + make -C doc/ html + + - store_artifacts: + path: doc/build/html |