diff --git a/.github/workflows/full_render_doc-en_test.yml b/.github/workflows/full_render_doc-en_test.yml new file mode 100644 index 00000000..1463234c --- /dev/null +++ b/.github/workflows/full_render_doc-en_test.yml @@ -0,0 +1,29 @@ +name: Render Test +on: [push, pull_request] +jobs: + test: + name: doc-en + runs-on: ubuntu-latest + steps: + - name: Checkout PhD + uses: actions/checkout@v4 + with: + path: "phd" + + - name: "Checkout php/doc-en" + uses: "actions/checkout@v4" + with: + path: "en" + repository: "php/doc-en" + + - name: "Checkout php/doc-base" + uses: "actions/checkout@v4" + with: + path: "doc-base" + repository: "php/doc-base" + + - name: "Build documentation for doc-en" + run: "php doc-base/configure.php --disable-libxml-check --enable-xml-details --redirect-stderr-to-stdout" + + - name: "Render documentation for doc-en" + run: "php phd/render.php --docbook doc-base/.manual.xml --package PHP --format xhtml --format bigxhtml --format php --format tocfeed --forceindex --output output"