Files
Jiarong Han 0c0bff1b83 new computational graph chapter (#419)
* new computational graph chapter

* Update main.yml

* Update main.yml

---------

Co-authored-by: Luo Mai <luo.mai.cs@gmail.com>
2023-02-16 19:03:17 +08:00

28 lines
686 B
YAML

name: CI
on:
- push
- pull_request
- workflow_dispatch # Allows you to run this workflow manually from the Actions tab
jobs:
build:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- uses: s-weigand/setup-conda@v1
- name: Set up Python 3.8
uses: actions/setup-python@v3
with:
python-version: '3.8'
- run: conda config --append channels conda-forge
- run: python3 -m pip install -r requirements.txt
- run: conda install -y pandoc==2.17
- run: |
git clone https://github.com/openmlsys/d2l-book.git
cd d2l-book
python3 -m pip install .
- run: d2lbook build html