forked from Gnucash/gnucash-docs
-
Notifications
You must be signed in to change notification settings - Fork 0
32 lines (32 loc) · 941 Bytes
/
html-ubuntu.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
name: html-ubuntu
on: [push, pull_request]
jobs:
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