gnucash-docs maint: workflows: separate HTML for faster results

Frank H.Ellenberger fell at code.gnucash.org
Sat Jun 19 20:09:07 EDT 2021


Updated	 via  https://github.com/Gnucash/gnucash-docs/commit/5a455d2d (commit)
	from  https://github.com/Gnucash/gnucash-docs/commit/6a082d3c (commit)



commit 5a455d2d14eeb92346dda27a9fc9572215805504
Author: Frank H. Ellenberger <frank.h.ellenberger at gmail.com>
Date:   Sun Jun 20 01:53:04 2021 +0200

    workflows: separate HTML for faster results

diff --git a/.github/workflows/dist-checks.yml b/.github/workflows/dist-check.yml
similarity index 99%
copy from .github/workflows/dist-checks.yml
copy to .github/workflows/dist-check.yml
index d77612e..b76f110 100644
--- a/.github/workflows/dist-checks.yml
+++ b/.github/workflows/dist-check.yml
@@ -1,4 +1,4 @@
-name: dist-checks
+name: dist-check
 on: [push, pull_request]
 jobs:
   ubuntu-18_dist-mini:
diff --git a/.github/workflows/dist-checks.yml b/.github/workflows/html-ubuntu.yml
similarity index 79%
rename from .github/workflows/dist-checks.yml
rename to .github/workflows/html-ubuntu.yml
index d77612e..c183d46 100644
--- a/.github/workflows/dist-checks.yml
+++ b/.github/workflows/html-ubuntu.yml
@@ -1,9 +1,9 @@
-name: dist-checks
+name: html-ubuntu
 on: [push, pull_request]
 jobs:
-  ubuntu-18_dist-mini:
+  ubuntu-18_html:
     runs-on: ubuntu-18.04
-    name: Ubuntu-18.04 distcheck with minimal requirements
+    name: make HTML in Ubuntu-18.04
     steps:
     - name: Checkout
       uses: actions/checkout at v2
@@ -21,14 +21,10 @@ jobs:
       run: |
         cd build
         cmake -G Ninja -DCMAKE_INSTALL_PREFIX=$ROOT_DIR/inst $GITHUB_WORKSPACE -DWITH_MOBI=ON
-    - name: Build distribution
+    - name: Build HTML
       run: |
         cd build
-        ninja dist
-    - name: Check distribution
-      run: |
-        cd build
-        ninja distcheck
+        ninja html
     - uses: actions/upload-artifact at v2
       if: failure()
       with:
@@ -36,7 +32,7 @@ jobs:
         path: ${{ github.workspace }}/build/Testing/Temporary/LastTest.log
   ubuntu-latest_dist-mini:
     runs-on: ubuntu-latest
-    name: Ubuntu-latest distcheck with minimal requirements
+    name: make HTML in Ubuntu-latest
     steps:
     - name: Checkout
       uses: actions/checkout at v2
@@ -54,14 +50,10 @@ jobs:
       run: |
         cd build
         cmake -G Ninja -DCMAKE_INSTALL_PREFIX=$ROOT_DIR/inst $GITHUB_WORKSPACE -DWITH_MOBI=ON
-    - name: Build distribution
-      run: |
-        cd build
-        ninja dist
-    - name: Check distribution
+    - name: Build HTML
       run: |
         cd build
-        ninja distcheck
+        ninja html
     - uses: actions/upload-artifact at v2
       if: failure()
       with:
diff --git a/.github/workflows/build-all.yml b/.github/workflows/other-ubuntu.yml
similarity index 91%
rename from .github/workflows/build-all.yml
rename to .github/workflows/other-ubuntu.yml
index ebba60a..924f459 100644
--- a/.github/workflows/build-all.yml
+++ b/.github/workflows/other-ubuntu.yml
@@ -1,9 +1,9 @@
-name: build-all
+name: other-ubuntu
 on: [push, pull_request]
 jobs:
   build-all_ubuntu-18:
     runs-on: ubuntu-18.04
-    name: Ubuntu-18.04 build all formats
+    name: Ubuntu-18.04 build other formats
     steps:
     - name: Checkout
       uses: actions/checkout at v2
@@ -30,10 +30,6 @@ jobs:
         cd build
         ninja
         ninja check
-    - name: Build HTML
-      run: |
-        cd build
-        ninja html
     - name: Build PDF
       run: |
         cd build
@@ -53,7 +49,7 @@ jobs:
         path: ${{ github.workspace }}/build/Testing/Temporary/LastTest.log
   build-all_ubuntu-latest:
     runs-on: ubuntu-latest
-    name: ubuntu-latest build all formatss
+    name: ubuntu-latest build other formatss
     steps:
     - name: Checkout
       uses: actions/checkout at v2
@@ -80,10 +76,6 @@ jobs:
         cd build
         ninja
         ninja check
-    - name: Build HTML
-      run: |
-        cd build
-        ninja html
     - name: Build PDF
       run: |
         cd build



Summary of changes:
 .../workflows/{dist-checks.yml => dist-check.yml}  |  2 +-
 .../workflows/{dist-checks.yml => html-ubuntu.yml} | 24 ++++++++--------------
 .../workflows/{build-all.yml => other-ubuntu.yml}  | 14 +++----------
 3 files changed, 12 insertions(+), 28 deletions(-)
 copy .github/workflows/{dist-checks.yml => dist-check.yml} (99%)
 rename .github/workflows/{dist-checks.yml => html-ubuntu.yml} (79%)
 rename .github/workflows/{build-all.yml => other-ubuntu.yml} (91%)



More information about the gnucash-changes mailing list