-
Notifications
You must be signed in to change notification settings - Fork 7
44 lines (36 loc) · 1.01 KB
/
draft.yml
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
name: "Build Draft"
on:
workflow_dispatch:
pull_request:
push:
schedule:
- cron: '13 5 * * 0'
jobs:
build:
name: Build IS Draft
runs-on: "ubuntu-latest"
steps:
- name: checkout
uses: actions/checkout@main
- name: Update APT Cache
run: sudo apt-get update
- name: Install (APT)
run: sudo apt-get install latexmk texlive-latex-recommended texlive-latex-extra texlive-fonts-recommended lmodern
- name: Install (B2)
run: |
set -e
pushd ..
wget "https://github.com/bfgroup/b2/archive/release.zip" -O b2.zip
unzip b2.zip
cd b2-release
CXX= ./bootstrap.sh
CXX= sudo ./b2 install b2-install-layout=portable --prefix=/usr/bin
popd
- name: Build (PDF)
run: |
b2 --debug-configuration -d+2 doc-stage=draft,final
- name: Upload
uses: actions/upload-artifact@main
with:
name: ecosystem-is
path: ecosystem*.pdf