Skip to content

Commit

Permalink
Update spec header and add html file and images(folder) for the relea…
Browse files Browse the repository at this point in the history
…se of v1.0.0-errata (AOMediaCodec#804)

* Update spec header and add html file and images(folder) for the release of v1.0.0-errata

* update for the release of the v1.0.0-errata

* update auto-publish.yml
  • Loading branch information
sunghee-hwang authored Apr 22, 2024
1 parent 3c54ad0 commit ca1c2cf
Show file tree
Hide file tree
Showing 21 changed files with 8,885 additions and 12 deletions.
79 changes: 71 additions & 8 deletions .github/workflows/auto-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,79 @@ name: Auto-Publish
on:
push:
branches: [main]

permissions:
contents: read
pages: write
id-token: write

# Allow one concurrent deployment
concurrency:
group: pages
cancel-in-progress: true

jobs:
main:
name: Deploy to GitHub pages
name: Compile and deploy
runs-on: ubuntu-20.04

steps:
- uses: actions/checkout@v2
- uses: w3c/spec-prod@v2
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
GH_PAGES_BRANCH: gh-pages
TOOLCHAIN: bikeshed
SOURCE: index.bs
DESTINATION: index.html
VALIDATE_MARKUP: false
python-version: 3.11
cache: 'pip'
- run: pip install bikeshed

- name: Install Poetry
uses: abatilo/actions-poetry@v3

- name: Setup a local virtual environment
run: |
poetry config virtualenvs.create true --local
poetry config virtualenvs.in-project true --local
- uses: actions/cache@v3
name: Define a cache for the virtual environment based on the dependencies lock file
with:
path: ./.venv
key: venv-${{ hashFiles('poetry.lock') }}

- name: Install Poetry dependencies
run: |
cd conformance
poetry install
- name: Generate conformance report
run: |
cd conformance
poetry run generate-report
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: 20

- name: Build conformance page
run: |
cd conformance/conformance_page
npm ci
npm run build
- name: Run bikeshed
run: |
bikeshed spec
mkdir dist
cp *.html dist
cp -r v?.?.?_files dist
cp -r images dist
mkdir dist/conformance
cp -r conformance/conformance_page/dist/* dist/conformance
- name: Upload artifact
uses: actions/upload-pages-artifact@v1
with:
path: ./dist

- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v1
9 changes: 5 additions & 4 deletions index.bs
Original file line number Diff line number Diff line change
@@ -1,17 +1,18 @@
<pre class='metadata'>
Group: AOM
Status: WGA
Status: FD
Text Macro: SPECVERSION v1.0.0-errata
Title: Immersive Audio Model and Formats
Editor: SungHee Hwang, Samsung, hshee@samsung.com
Editor: Felicia Lim, Google, flim@google.com
Repository: AOMediaCodec/iamf
Shortname: iamf
URL: https://aomediacodec.github.io/iamf/
URL: https://aomediacodec.github.io/iamf/v1.0.0-errata.html
!Previously approved version: <a href="https://aomediacodec.github.io/iamf/v1.0.0.html">https://aomediacodec.github.io/iamf/v1.0.0.html</a>
!Latest approved version: <a href="https://aomediacodec.github.io/iamf/latest-approved.html">https://aomediacodec.github.io/iamf/latest-approved.html</a>
!Latest draft version: <a href="https://aomediacodec.github.io/iamf/latest-draft.html">https://aomediacodec.github.io/iamf/latest-draft.html</a>
Date: 2024-03-05
!Reference Implementation: <a href="https://github.com/AOMediaCodec/libiamf/">libiamf v1.0.0-errata</a>
Date: 2024-04-03
!Reference Implementation: <a href="https://github.com/AOMediaCodec/libiamf/releases/tag/v1.0.0-errata/">libiamf v1.0.0-errata</a>
Abstract: This document specifies the Immersive Audio (IA) model, the standalone IA Sequence format, and the [[!ISO-BMFF]]-based IA container format.
Local Boilerplate: footer yes
Metadata Order: This version, !*, *
Expand Down
1 change: 1 addition & 0 deletions latest-approved.html
1 change: 1 addition & 0 deletions latest-draft.html
Loading

0 comments on commit ca1c2cf

Please sign in to comment.