Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions .github/workflows/integrate.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,14 +39,32 @@ jobs:
path: "doc-base"
repository: "php/doc-base"

- name: "Checkout php/phd"
uses: "actions/checkout@v2"
with:
path: "phd"
repository: "php/phd"

- name: "Quality Assurance scripts"
run: "php8.0 doc-base/scripts/qa/extensions.xml.php --check"

- name: "Build documentation for ${{ matrix.language }}"
run: "php8.0 doc-base/configure.php --disable-libxml-check --enable-xml-details --redirect-stderr-to-stdout --with-lang=${{ matrix.language }}"

- name: "Render XHTML chunked ${{ matrix.language }} manual"
run: "php phd/render.php --docbook doc-base/.manual.xml --package PHP --format xhtml"

- name: "Archive XHTML chunked ${{ matrix.language }} manual"
run: "tar -cf output/php-chunked-xhtml.tar output/php-chunked-xhtml"

- name: "Upload .manual.xml"
uses: actions/upload-artifact@v2
with:
name: .manual.xml
path: doc-base/.manual.xml

- name: "Upload XHTML chunked manual"
uses: actions/upload-artifact@v2
with:
name: php-chunked-xhtml
path: output/php-chunked-xhtml.tar