blob: ea3265305a0925afe1a26849328109073778ba08 [file] [log] [blame]
Davide Pesavento30ed6282021-07-25 20:05: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 - name: Install dependencies
21 run: |
22 case ${RUNNER_OS} in
23 Linux) export NODE_LABELS="Linux Ubuntu Ubuntu-20.04" ;;
24 macOS) export NODE_LABELS="OSX OSX-10.15" ;;
25 esac
26 find .jenkins.d/ -type f -name '[1-9]*.sh' -exec chmod -x '{}' +
27 ./.jenkins
28 - name: Build documentation
29 run: |
30 ./waf --color=yes configure
31 ./waf --color=yes build --targets=version.hpp
32 ./waf --color=yes build --targets=manpages
33 ./waf --color=yes docs