forked from oasis-tcs/pkcs11
-
Notifications
You must be signed in to change notification settings - Fork 0
63 lines (56 loc) · 1.46 KB
/
build-docs.yml
File metadata and controls
63 lines (56 loc) · 1.46 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
---
name: Build Docs
on:
push:
branches: ["master"]
paths:
- 'working/doc/spec/**'
pull_request:
branches: ["master"]
paths:
- 'working/doc/spec/**'
workflow_dispatch:
inputs:
branch_name:
description: 'The branch name to run the workflow on'
required: true
default: 'main'
jobs:
build:
name: Automatic Docs build
runs-on: ubuntu-latest
strategy:
fail-fast: false
container: fedora:latest
steps:
- name: Install Dependencies
run: |
dnf -y install \
make pandoc \
dejavu-sans-fonts \
dejavu-sans-mono-fonts \
dejavu-serif-fonts \
texlive-fontspec \
texlive-framed \
texlive-latex \
texlive-lua-ul \
texlive-luacolor \
texlive-luahbtex \
texlive-mdwtools \
texlive-multirow \
texlive-newunicodechar \
texlive-sectsty \
texlive-selnolig \
texlive-unicode-math
- name: Checkout Repository
uses: actions/checkout@v4
- name: Build docs
run: |
cd working/doc/spec
make
- uses: actions/upload-artifact@v4
with:
name: Rendered-docs
path: |
working/doc/spec/*pdf
working/doc/spec/*html