Tests - DRAWEXE Testing integration into GH #109 #1
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
# This workflow builds the OCCT reference manual documentation. | |
# It is triggered on pushes to the 'master' branch. | |
# The workflow includes steps to checkout the repository, install dependencies, build the documentation, and upload the generated documentation and logs as artifacts. | |
name: Build Documentation | |
on: | |
push: | |
branches: | |
- 'master' | |
jobs: | |
build: | |
name: Build Refman Documentation | |
runs-on: ubuntu-24.04 | |
steps: | |
# Step: Checkout the repository | |
- name: Checkout repository | |
uses: actions/[email protected] | |
# Step: Install necessary dependencies for building the documentation | |
- name: Install dependencies | |
run: sudo apt-get update && sudo apt-get install -y tcl-dev tk-dev cmake gcc g++ make libbtbb-dev libx11-dev libglu1-mesa-dev doxygen graphviz | |
# Step: Build the reference manual documentation | |
- name: Build documentation | |
run: bash gendoc -refman | |
# Step: Upload the generated reference manual documentation as an artifact | |
- name: Upload refman documentation | |
uses: actions/[email protected] | |
id: artifact-upload-step | |
with: | |
name: refman-doc | |
path: doc/refman | |
retention-days: 90 | |
# Step: Upload the documentation generation log as an artifact | |
- name: Upload generation log | |
uses: actions/[email protected] | |
with: | |
name: doxygen.log | |
path: doc/html_doxygen_err.log | |
retention-days: 90 |