Skip to content

Build/Test the Matroska RFCs #43

Build/Test the Matroska RFCs

Build/Test the Matroska RFCs #43

Workflow file for this run

name: "Build/Test the Matroska RFCs"
# Trigger the workflow on push or pull request
on: [push, pull_request]
jobs:
build_ietf:
name: "Build RFCS"
runs-on: ubuntu-18.04
steps:
- name: Get pushed code
uses: actions/checkout@v1
with:
fetch-depth: 1
- name: Get python (for xml2rfc)
uses: actions/setup-python@v1
- name: Setup test tools
# we need the apt update because old packages won't load
run: |
sudo apt update
sudo apt install xsltproc mmark
- 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: Move Generated files
run: |
mkdir -p artifacts
mv draft-ietf-cellar-matroska-??.xml artifacts
mv draft-ietf-cellar-codec-??.xml artifacts
mv draft-ietf-cellar-tags-??.xml artifacts
mv draft-ietf-cellar-chapter-codecs-??.xml artifacts
mv draft-ietf-cellar-control-??.xml artifacts
mv matroska_iana.xml artifacts
- name: XML Artifact
uses: actions/upload-artifact@master
with:
name: ietf-xmls
path: artifacts
schema_test:
name: "Test Schema"
runs-on: ubuntu-18.04
steps:
- name: Get pushed code
uses: actions/checkout@v1
with:
fetch-depth: 1
- name: Get python (for xml2rfc)
uses: actions/setup-python@v1
- 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