Merge pull request #32 from openmlsys/Laicheng0830-patch-1

init CI
This commit is contained in:
Cheng Lai
2022-03-04 16:30:24 +08:00
committed by GitHub

22
.github/workflows/main.yml vendored Normal file
View File

@@ -0,0 +1,22 @@
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
- run: python3 -m pip install -r requirements.txt
- run: sudo apt install -y pandoc
- run: |
git clone https://github.com/d2l-ai/d2l-book.git
cd d2l-book
python3 -m pip install .
- run: d2lbook build html