From eb69515cb594375631c7d6d744a0bf82ad591cdf Mon Sep 17 00:00:00 2001 From: dpasukhi Date: Wed, 30 Oct 2024 08:41:48 +0000 Subject: [PATCH] Testing - GH Actions RefMan on Windows #131 The RefMan doc generation is OS depended. All previous versions were generated on Win. --- .github/workflows/build-docs.yml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/build-docs.yml b/.github/workflows/build-docs.yml index a99c773769..b7b7b6caa8 100644 --- a/.github/workflows/build-docs.yml +++ b/.github/workflows/build-docs.yml @@ -12,22 +12,23 @@ on: jobs: build: name: Build Refman Documentation - runs-on: ubuntu-24.04 + runs-on: windows-2022 steps: - # Step: Checkout the repository - name: Checkout repository uses: actions/checkout@v4.2.1 - # 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 + run: | + choco install -y graphviz + choco install -y doxygen.install - # Step: Build the reference manual documentation - name: Build documentation - run: bash gendoc -refman + run: | + set PATH=%PATH%;C:\Program Files\doxygen\bin;C:\Program Files\Graphviz\bin;C:\Program Files\doxygen + bash gendoc -refman + shell: cmd - # Step: Upload the generated reference manual documentation as an artifact - name: Upload refman documentation uses: actions/upload-artifact@v4.4.3 id: artifact-upload-step @@ -36,7 +37,6 @@ jobs: path: doc/refman retention-days: 90 - # Step: Upload the documentation generation log as an artifact - name: Upload generation log uses: actions/upload-artifact@v4.4.3 with: