-
Notifications
You must be signed in to change notification settings - Fork 44
73 lines (59 loc) · 1.89 KB
/
generate-rfcs.yaml
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
name: "Build/Test the Matroska RFCs"
# Trigger the workflow on push or pull request
on:
push:
branches: [ master ]
pull_request:
jobs:
build_ietf:
name: "Build RFCS"
runs-on: ubuntu-22.04
steps:
- name: Get pushed code
uses: actions/checkout@v4
- name: Get python (for xml2rfc)
uses: actions/setup-python@v4
- name: Setup test tools
# we need the apt update because old packages won't load
run: |
sudo apt update
sudo apt install xsltproc
- name: Setup toolchain
run: ./bootstrap
- name: Build Matroska IETF documents
run: make matroska
- name: Build Codecs IETF documents
run: make codecs
- name: Build Tags IETF documents
run: make tags
# "all" target not covered by matroska+codecs+tags+test
# in case we add more stuff in there
- name: Build remaining
run: make
- name: XML Artifact
uses: actions/upload-artifact@v3
with:
name: matroska-ietf-xmls
path: |
draft-ietf-cellar-matroska-*.xml
draft-ietf-cellar-codec-*.xml
draft-ietf-cellar-tags-*.xml
draft-ietf-cellar-chapter-codecs-*.xml
draft-ietf-cellar-control-*.xml
matroska_iana.xml
schema_test:
name: "Test Schema"
runs-on: ubuntu-22.04
steps:
- name: Get pushed code
uses: actions/checkout@v4
- name: Setup test tools
# we need the apt update because old packages won't load
run: |
sudo apt update
sudo apt install xsltproc libxml2-utils
- name: Setup toolchain and EBML Schema
run: ./bootstrap
# First check the Matroska EBML Schema is valid
- name: Test Matroska EBML Schema
run: make check