gnucash-docs maint: Multiple changes pushed
Frank H.Ellenberger
fell at code.gnucash.org
Fri Jun 18 03:27:09 EDT 2021
Updated via https://github.com/Gnucash/gnucash-docs/commit/9f13da03 (commit)
via https://github.com/Gnucash/gnucash-docs/commit/73649022 (commit)
from https://github.com/Gnucash/gnucash-docs/commit/7428f6cf (commit)
commit 9f13da036ae535e569baab1534c8f0ebde0293e3
Author: Frank H. Ellenberger <frank.h.ellenberger at gmail.com>
Date: Fri Jun 18 09:26:46 2021 +0200
Typo: Not Moby Dick
diff --git a/README b/README
index ce8a2fd..9ccdaaa 100644
--- a/README
+++ b/README
@@ -18,9 +18,11 @@ see below under Other Formats.
Requirements
############
-* autotools (deprecated)
+* cmake with
+** ninja or
+** make
or
-* cmake
+* autotools (deprecated)
* libxml2
* libxslt [Debian packed the required xsltproc in a separate package,
@@ -102,9 +104,9 @@ For cmake the commands are
cd gnucash-docs
mkdir build && cd build
# If you don't need mobi
- cmake ..
+ cmake â¦
# or, if you need mobi
- cmake -D WITH_MOBY ..
+ cmake DWITH_MOBI=ON â¦
For the deprecated autotools system the commands are:
cd gnucash-docs
commit 736490225abe9607c50827170451c356698ab503
Author: Frank H. Ellenberger <frank.h.ellenberger at gmail.com>
Date: Fri Jun 18 07:02:02 2021 +0200
First github ci
diff --git a/.github/workflows/ci-test.yml b/.github/workflows/ci-test.yml
new file mode 100644
index 0000000..1c9dc86
--- /dev/null
+++ b/.github/workflows/ci-test.yml
@@ -0,0 +1,104 @@
+name: ci-tests
+on: [push, pull_request]
+jobs:
+ ci_tests_ubuntu-18:
+ runs-on: ubuntu-18.04
+ name: Ubuntu-18.04 CI Tests
+ steps:
+ - name: Checkout
+ uses: actions/checkout at v2
+ - run: sudo apt-get update
+ - name: Install minimal dependencies
+ run: sudo apt-get install -y cmake ninja-build libxml2-utils xsltproc docbook-xsl
+ - name: Install PDF dependencies
+ run: sudo apt-get install -y fop
+ - name: Install additional mobi dependencies
+ run: sudo apt-get install -y calibre
+ - run: |
+ echo "ROOT_DIR=$GITHUB_WORKSPACE/.." >> $GITHUB_ENV
+ - name: Create Directories
+ run: |
+ pwd
+ mkdir $ROOT_DIR/inst
+ mkdir build
+ - name: Configure GnuCash-docs
+ run: |
+ cd build
+ cmake -G Ninja -DCMAKE_INSTALL_PREFIX=$ROOT_DIR/inst $GITHUB_WORKSPACE -DWITH_MOBI=ON
+ - name: Syntax Check GnuCash-docs
+ run: |
+ cd build
+ ninja
+ ninja check
+ - name: Build HTML
+ run: |
+ cd build
+ ninja html
+ - name: Build PDF
+ run: |
+ cd build
+ ninja pdf
+ - name: Build ePub
+ run: |
+ cd build
+ ninja epub
+ - name: Build mobi
+ run: |
+ cd build
+ ninja mobi
+ - uses: actions/upload-artifact at v2
+ if: failure()
+ with:
+ name: TestLog
+ path: ${{ github.workspace }}/build/Testing/Temporary/LastTest.log
+ ci_tests_ubuntu-latest:
+ runs-on: ubuntu-latest
+ name: ubuntu-latest CI Tests
+ steps:
+ - name: Checkout
+ uses: actions/checkout at v2
+ - run: sudo apt-get update
+ - name: Install minimal dependencies
+ run: sudo apt-get install -y cmake ninja-build libxml2-utils xsltproc docbook-xsl
+ - name: Install PDF dependencies
+ run: sudo apt-get install -y fop
+ - name: Install additional mobi dependencies
+ run: sudo apt-get install -y calibre
+ - run: |
+ echo "ROOT_DIR=$GITHUB_WORKSPACE/.." >> $GITHUB_ENV
+ - name: Create Directories
+ run: |
+ pwd
+ mkdir $ROOT_DIR/inst
+ mkdir build
+ - name: Configure GnuCash-docs
+ run: |
+ cd build
+ cmake -G Ninja -DCMAKE_INSTALL_PREFIX=$ROOT_DIR/inst $GITHUB_WORKSPACE -DWITH_MOBI=ON
+ - name: Syntax Check GnuCash-docs
+ run: |
+ cd build
+ ninja
+ ninja check
+ - name: Build HTML
+ run: |
+ cd build
+ ninja html
+ - name: Build PDF
+ run: |
+ cd build
+ ninja pdf
+ - name: Build ePub
+ run: |
+ cd build
+ ninja epub
+ - name: Build mobi
+ run: |
+ cd build
+ ninja mobi
+ - uses: actions/upload-artifact at v2
+ if: failure()
+ with:
+ name: TestLog
+ path: ${{ github.workspace }}/build/Testing/Temporary/LastTest.log
+
Summary of changes:
.github/workflows/ci-test.yml | 104 ++++++++++++++++++++++++++++++++++++++++++
README | 10 ++--
2 files changed, 110 insertions(+), 4 deletions(-)
create mode 100644 .github/workflows/ci-test.yml
More information about the gnucash-changes
mailing list