gnucash stable: Add build of Doxygen Docs to CI, upload to gnucash.github.io

John Ralls jralls at code.gnucash.org
Wed Jul 15 00:32:21 EDT 2026


Updated	 via  https://github.com/Gnucash/gnucash/commit/ba16cb3a (commit)
	from  https://github.com/Gnucash/gnucash/commit/b766c126 (commit)



commit ba16cb3a09bcc4665c9275dfceeb7bfb96525143
Author: John Ralls <jralls at ceridwen.us>
Date:   Tue Jul 14 16:31:15 2026 -0700

    Add build of Doxygen Docs to CI, upload to gnucash.github.io

diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml
index 36ae190901..fff6d095a9 100644
--- a/.github/workflows/coverage.yml
+++ b/.github/workflows/coverage.yml
@@ -46,7 +46,7 @@ jobs:
             echo "::warning title=Invalid file permissions automatically fixed::$line"
           done
       - name: Upload pages
-        uses: actions/upload-pages-artifact at v4
+        uses: actions/upload-pages-artifact at v5
         if: success()
         with:
           path: ${{ github.workspace }}/build/github-pages
@@ -65,3 +65,58 @@ jobs:
       - name: Publish
         id: deployment
         uses: actions/deploy-pages at v5
+
+  programming-docs:
+    runs-on: ubuntu-latest
+    name: Build Programming Documentation
+    steps:
+      - name: Checkout
+        uses: actions/checkout at v6
+      - run: sudo apt-get update
+      - name: Install additional dependencies
+        run: sudo apt-get install -y gettext cmake libxslt-dev xsltproc ninja-build libboost-all-dev libgtk-3-dev guile-2.2-dev libgwengui-gtk3-dev libaqbanking-dev libofx-dev libdbi-dev libdbd-sqlite3 libwebkit2gtk-4.1-dev  googletest doxygen
+      - name: Install language packs.
+        run: sudo apt-get --reinstall install -y language-pack-en language-pack-fr
+      - run: |
+          echo "ROOT_DIR=$GITHUB_WORKSPACE/.." >> $GITHUB_ENV
+      - name: Create Directories
+        run: |
+          pwd
+          mkdir $ROOT_DIR/inst
+          mkdir build
+      - name: Configure GnuCash
+        run: |
+          cd build
+          cmake -G Ninja $GITHUB_WORKSPACE
+      - name: Run Doxygen
+        run: |
+          cd build
+          ninja doc
+      - name: prepare_upload
+        if: success()
+        run: |
+          mkdir build/github-pages
+          mv build/doxygen/html build/github-pages/Documentation
+          chmod -v -R +rX "build/github-pages" | while read line; do
+            echo "::warning title=Invalid file permissions automatically fixed::$line"
+          done
+      - name: Upload pages
+        uses: actions/upload-pages-artifact at v5
+        if: success()
+        with:
+          path: ${{ github.workspace }}/build/github-pages
+
+  deploy-docs:
+    needs: programming-docs
+    if: github.repository == 'gnucash/gnucash'
+    permissions:
+      pages: write
+      id-token: write
+    environment:
+      name: github-pages
+      url: ${{ steps.deployment.outputs.page_url }}
+    runs-on: ubuntu-latest
+    steps:
+      - name: Publish
+        id: deployment
+        uses: actions/deploy-pages at v5



Summary of changes:
 .github/workflows/coverage.yml | 57 +++++++++++++++++++++++++++++++++++++++++-
 1 file changed, 56 insertions(+), 1 deletion(-)



More information about the gnucash-changes mailing list