bookshelf-doc/.github/workflows/build.yml

35 lines
786 B
YAML
Raw Normal View History

2023-03-11 16:48:27 +00:00
name: std4 test build
on:
push:
branches:
- "main"
pull_request:
jobs:
build:
2023-03-11 16:48:27 +00:00
name: std4 test build
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v3
- name: install elan
run: |
set -o pipefail
curl https://raw.githubusercontent.com/leanprover/elan/master/elan-init.sh -sSf | sh -s -- --default-toolchain none -y
~/.elan/bin/lean --version
echo "$HOME/.elan/bin" >> $GITHUB_PATH
2023-03-11 16:48:27 +00:00
- name: Checkout and compile std4
run: |
cd ../
2023-03-11 16:48:27 +00:00
git clone https://github.com/leanprover/std4
cd std4
lake build
2023-03-11 16:48:27 +00:00
- name: generate docs
run: |
cd ../
2023-03-11 16:48:27 +00:00
./doc-gen4/test_docs.sh "std4" "doc-gen4"