Skip to content

Commit

Permalink
Another way to setup conda
Browse files Browse the repository at this point in the history
  • Loading branch information
ianhbell committed Mar 2, 2024
1 parent 10cef63 commit e088860
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/build_docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,13 @@ jobs:
use-only-tar-bz2: true # IMPORTANT: This needs to be set for caching to work properly!
auto-update-conda: true
auto-activate-base: false
activate-environment: teqpdocs
environment-file: doc/environment.yml
- name: install teqp, built from source
shell: bash -el {0}
run: |
cd doc
conda env create
conda activate teqpdocs || true
cd ..
CXX=clang++ python -m pip install .
cd doc
which python
make html
- name: archive docs
run: cd doc && python -c "import shutil; shutil.make_archive('teqpdocs', 'xztar', 'build')"
Expand Down

0 comments on commit e088860

Please sign in to comment.