Skip to content

Another way to setup conda #7

Another way to setup conda

Another way to setup conda #7

Workflow file for this run

name: build docs w/ compilation
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
Matrix-build:
runs-on: ubuntu-latest
# container: node:latest
steps:
- name: checkout
uses: actions/checkout@v3
- name: checkout submodules
run: git submodule update --init --recursive
- uses: conda-incubator/setup-miniconda@v2
with:
mamba-version: "*"
channels: conda-forge, defaults
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: |
CXX=clang++ python -m pip install .
cd doc
make html
- name: archive docs
run: cd doc && python -c "import shutil; shutil.make_archive('teqpdocs', 'xztar', 'build')"
- uses: actions/upload-artifact@v3
with:
path: |
./docs/*.tar.xz