-
Notifications
You must be signed in to change notification settings - Fork 40
73 lines (65 loc) · 1.99 KB
/
push.yml
File metadata and controls
73 lines (65 loc) · 1.99 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
on:
push:
branches:
- master
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
permissions:
contents: read
pages: write
id-token: write
jobs:
style_lint:
name: Lint style
runs-on: ubuntu-latest
steps:
- name: Don't 'import Mathlib', use precise imports
if: always()
run: |
! (find Carleson -name "*.lean" -type f -print0 | xargs -0 grep -E -n '^import Mathlib$')
build_project:
runs-on: ubuntu-latest
name: Build project
steps:
- name: Cleanup to free disk space
uses: jlumbroso/free-disk-space@main
with:
tool-cache: false
android: true
dotnet: false
haskell: false
large-packages: false
docker-images: false
swap-storage: false
- name: Checkout project
uses: actions/checkout@v6
with:
fetch-depth: 1
- name: Build and lint project
uses: leanprover/lean-action@c544e89643240c6b398f14a431bcdc6309e36b3e # 2025-07-02
with:
build: true
lint: true
mk_all-check: true
- name: Upstreaming dashboard
uses: leanprover-community/upstreaming-dashboard-action@main
with:
website-directory: ./docs
project-name: Carleson
relevant-labels: carleson
include-drafts: true
branch-name: master
- name: Generate the paper PDF and add it to the website
uses: xu-cheng/texlive-action@22c04326a5d855880f9d39bb955138bf11c6df80 # v3
with:
docker_image: ghcr.io/xu-cheng/texlive-full:20251002
run: |
cd paper
latexmk -pdf main.tex
latexmk -c
cd ..
cp paper/main.pdf docs/paper.pdf
- name: Compile blueprint and documentation
uses: leanprover-community/docgen-action@3dbd3475a9bc8d22fd786a8f8efe1869457da7cc # 2026-01-15
with:
blueprint: true
homepage: docs