Update constants_curl_setopt.xml #4665
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "Build" | |
on: | |
pull_request: | |
branches: | |
- master | |
push: | |
branches: | |
- master | |
schedule: | |
- cron: '0 0 * * *' | |
permissions: | |
contents: read | |
jobs: | |
build: | |
name: "Build" | |
runs-on: "ubuntu-20.04" | |
strategy: | |
matrix: | |
language: | |
- "zh" | |
steps: | |
- name: Check env | |
run: | | |
php -v | |
pear version | |
php -m | |
- name: "Checkout php/doc-${{ matrix.language }}" | |
uses: "actions/checkout@v4" | |
with: | |
path: "${{ matrix.language }}" | |
repository: "php/doc-${{ matrix.language }}" | |
- name: "Checkout php/doc-en as fallback" | |
if: "matrix.language != '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: "Quality Assurance scripts" | |
run: | | |
php8.0 doc-base/scripts/qa/extensions.xml.php --check | |
php8.0 doc-base/scripts/qa/section-order.php | |
- 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 }}" |