forked from Gnucash/gnucash-docs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
workflows: separate HTML for faster results
- Loading branch information
Showing
3 changed files
with
65 additions
and
12 deletions.
There are no files selected for viewing
2 changes: 1 addition & 1 deletion
2
.github/workflows/dist-checks.yml → .github/workflows/dist-check.yml
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
name: dist-checks | ||
name: dist-check | ||
on: [push, pull_request] | ||
jobs: | ||
ubuntu-18_dist-mini: | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
name: html-ubuntu | ||
on: [push, pull_request] | ||
jobs: | ||
ubuntu-18_html: | ||
runs-on: ubuntu-18.04 | ||
name: make HTML in Ubuntu-18.04 | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
- run: sudo apt-get update | ||
- name: Install minimal dependencies | ||
run: sudo apt-get install -y cmake ninja-build libxml2-utils xsltproc docbook-xsl | ||
- 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: Build HTML | ||
run: | | ||
cd build | ||
ninja html | ||
- uses: actions/upload-artifact@v2 | ||
if: failure() | ||
with: | ||
name: TestLog | ||
path: ${{ github.workspace }}/build/Testing/Temporary/LastTest.log | ||
ubuntu-latest_dist-mini: | ||
runs-on: ubuntu-latest | ||
name: make HTML in Ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
- run: sudo apt-get update | ||
- name: Install minimal dependencies | ||
run: sudo apt-get install -y cmake ninja-build libxml2-utils xsltproc docbook-xsl | ||
- 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: Build HTML | ||
run: | | ||
cd build | ||
ninja html | ||
- uses: actions/upload-artifact@v2 | ||
if: failure() | ||
with: | ||
name: TestLog | ||
path: ${{ github.workspace }}/build/Testing/Temporary/LastTest.log |
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