Main: move the adjacency flag to render operation where it belongs #1415
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: CI | |
# Controls when the action will run. | |
on: | |
push: | |
branches: 'master' | |
# Run for all pull requests | |
pull_request: | |
branches: '*' | |
types: [opened] | |
env: | |
CMAKE_DOXYGEN_INPUT_LIST: "Components Docs/src OgreMain PlugIns RenderSystems" | |
OGRE_SOURCE_DIR: "./" | |
OGRE_BINARY_DIR: "./" | |
OGRE_VERSION: "2.3" | |
DOXYGEN_HTML_OUTPUT_DIR: "./2.3" | |
# A workflow run is made up of one or more jobs that can run sequentially or in parallel | |
jobs: | |
# This workflow contains a single job called "build" | |
Doxygen: | |
# The type of runner that the job will run on | |
runs-on: ubuntu-latest | |
# Steps represent a sequence of tasks that will be executed as part of the job | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Generate Doxyfile | |
# Replace CMake's ${ENV_VAR} to Doxygen's $(ENV_VAR) syntax | |
run: cat CMake/Templates/html.cfg.in | sed 's/\${\(.*\)}/$(\1)/' > Doxyfile | |
- name: Generate docs with doxygen | |
uses: mattnotmitt/doxygen-action@v1 | |
with: | |
doxyfile-path: './Doxyfile' | |
- name: Remove files | |
working-directory: .github/workflows/ | |
run: python3 doxygen_remove_files.py | |
- name: Publish # Only on master branch | |
if: github.ref == 'refs/heads/master' | |
uses: peaceiris/actions-gh-pages@v3 | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
publish_dir: ./ | |
keep_files: true |