-
Notifications
You must be signed in to change notification settings - Fork 7
39 lines (31 loc) · 995 Bytes
/
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
name: "Build Draft"
on: [pull_request, push]
jobs:
build:
name: Build IS Draft
runs-on: "ubuntu-latest"
steps:
- name: checkout
uses: actions/checkout@v3
- name: Update APT Cache
if: matrix.cfg.name == 'Linux'
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@v3
with:
name: ecosystem-is
path: ecosystem*.pdf