Repository navigation
admin: update AGENTS.md #146
Workflow file for this run
This file contains hidden or 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
| # Copyright Contributors to the Open Shading Language project. | |
| # SPDX-License-Identifier: BSD-3-Clause | |
| # https://github.com/AcademySoftwareFoundation/OpenShadingLanguage | |
| name: docs | |
| on: | |
| push: | |
| # Skip jobs when only non-doc files are changed. | |
| paths-ignore: | |
| - '**/ci.yml' | |
| - '**/analysis.yml' | |
| - '**/scorecards.yml' | |
| - '**/release-notice.yml' | |
| - '**/release-sign.yml' | |
| - '**.properties' | |
| - 'src/**.cpp' | |
| - '**.cmake' | |
| - '**/CMakeLists.txt' | |
| - '**/run.py' | |
| - 'src/build-scripts/**' | |
| - './*.md' | |
| pull_request: | |
| paths-ignore: | |
| - '**/ci.yml' | |
| - '**/analysis.yml' | |
| - '**/scorecards.yml' | |
| - '**/release-notice.yml' | |
| - '**/release-sign.yml' | |
| - '**.properties' | |
| - 'src/**.cpp' | |
| - '**.cmake' | |
| - '**/CMakeLists.txt' | |
| - '**/run.py' | |
| - 'src/build-scripts/**' | |
| - './*.md' | |
| schedule: | |
| # Full nightly build | |
| - cron: "0 8 * * *" | |
| workflow_dispatch: | |
| # This allows manual triggering of the workflow from the web | |
| permissions: read-all | |
| # Allow subsequent pushes to the same PR or REF to cancel any previous jobs. | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| docs: | |
| name: "Docs / ${{matrix.desc}}" | |
| if: ${{ github.event_name != 'schedule' || github.event.repository.fork == false }} | |
| uses: ./.github/workflows/build-steps.yml | |
| with: | |
| nametag: ${{ matrix.nametag || 'unnamed!' }} | |
| runner: ${{ matrix.runner || 'ubuntu-latest' }} | |
| container: ${{ matrix.container }} | |
| cc_compiler: ${{ matrix.cc_compiler }} | |
| cxx_compiler: ${{ matrix.cxx_compiler }} | |
| cxx_std: ${{ matrix.cxx_std || '17' }} | |
| build_type: ${{ matrix.build_type || 'Release' }} | |
| depcmds: ${{ matrix.depcmds }} | |
| extra_artifacts: ${{ matrix.extra_artifacts }} | |
| python_ver: ${{ matrix.python_ver }} | |
| setenvs: ${{ matrix.setenvs }} | |
| simd: ${{ matrix.simd }} | |
| skip_build: ${{ matrix.skip_build }} | |
| skip_tests: ${{ matrix.skip_tests }} | |
| abi_check: ${{ matrix.abi_check }} | |
| build_docs: ${{ matrix.build_docs }} | |
| generator: ${{ matrix.generator }} | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| include: | |
| - desc: docs | |
| nametag: docs-linux | |
| runner: ubuntu-latest | |
| cxx_std: 17 | |
| python_ver: "3.11" | |
| build_docs: 1 | |
| skip_build: 1 | |
| skip_tests: 1 | |
| setenvs: export EXTRA_DEP_PACKAGES="doxygen sphinx-doc" | |
| PIP_INSTALLS="sphinx breathe==4.34.0 sphinx-tabs furo==2022.6.21 myst-parser linkify-it-py" | |
| SKIP_SYSTEM_DEPS_INSTALL=1 |