Skip to content

Add melsprectrogram #136

Add melsprectrogram

Add melsprectrogram #136

Workflow file for this run

# YAML schema for GitHub Actions:
# https://help.github.com/en/actions/automating-your-workflow-with-github-actions/workflow-syntax-for-github-actions
#
# Helpful YAML parser to clarify YAML syntax:
# https://yaml-online-parser.appspot.com/
#
# This workflow uses actions that are not certified by GitHub. They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support documentation.
#
# This file contains the workflows that are run prior to merging a pull request.
name: Docs
on:
push:
branches:
- 'develop'
- 'master'
pull_request:
branches:
- 'develop'
- 'master'
# Allow manually triggering of the workflow.
workflow_dispatch: {}
jobs:
build_documentation:
name: Build and package documentation
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
with:
submodules: recursive
- name: Pull doc_builder container
run: |
docker pull ghcr.io/xmos/doc_builder:v3.0.0
- name: Build documentation
run: |
docker run --rm -t -u "$(id -u):$(id -g)" -v ${{ github.workspace }}:/build -e REPO:/build -e EXCLUDE_PATTERNS=/build/doc/doc_excludes.txt -e DOXYGEN=1 -e DOXYGEN_INCLUDE=/build/doc/Doxyfile.inc -e PDF=1 ghcr.io/xmos/doc_builder:v2.0.0 || echo "Container always falsely reports an error. Ignoring error."
- name: Save HTML documentation artifact
uses: actions/upload-artifact@v2
with:
name: lib_xcore_math_docs_html
path: ./doc/_build/html
if-no-files-found: error # 'warn' or 'ignore' are also available, defaults to `warn`
retention-days: 5
- name: Save PDF documentation artifact
uses: actions/upload-artifact@v2
with:
name: lib_xcore_math_docs_pdf
path: ./doc/_build/pdf/programming_guide.pdf
if-no-files-found: error # 'warn' or 'ignore' are also available, defaults to `warn`
retention-days: 5