blob: 1cc5381852e3454763ecbdfaf7e4a40b798a86d8 [file] [log] [blame]
Davide Pesavento8f0028d2021-07-27 20:01:06 -04001name: Docs
2on:
3 push:
4 pull_request:
5 workflow_dispatch:
6
7jobs:
8 build:
9 strategy:
10 fail-fast: false
11 matrix:
12 os: [macos-10.15, ubuntu-20.04]
13 runs-on: ${{ matrix.os }}
14 env:
15 JOB_NAME: Docs
16 WAF_JOBS: 3
17 steps:
18 - name: Checkout
19 uses: actions/checkout@v2
20 with:
21 submodules: true
22 - name: Install dependencies
23 run: |
24 case ${RUNNER_OS} in
25 Linux) export NODE_LABELS="Linux Ubuntu Ubuntu-20.04" ;;
26 macOS) export NODE_LABELS="OSX OSX-10.15" ;;
27 esac
28 find .jenkins.d/ -type f -name '[1-9]*.sh' -exec chmod -x '{}' +
29 ./.jenkins
30 - name: Build documentation
31 run: |
32 ./waf --color=yes configure
33 ./waf --color=yes build --targets=version.hpp
34 ./waf --color=yes build --targets=manpages
35 ./waf --color=yes docs