blob: f27285b93b429281a830259cb0fb4a3e0dfbd481 [file] [log] [blame]
Davide Pesaventoba8a4ed2021-10-13 21:28:43 -04001name: Docs
2on:
3 push:
4 paths-ignore:
5 - '*.md'
6 - '.mailmap'
7 workflow_dispatch:
8
9permissions:
10 contents: read
11
12jobs:
13 build:
14 strategy:
15 fail-fast: false
16 matrix:
17 os: [macos-11, ubuntu-20.04]
18 runs-on: ${{ matrix.os }}
19 env:
20 JOB_NAME: Docs
21 WAF_JOBS: 3
22 steps:
23 - name: Checkout
Davide Pesaventod1f1df82022-03-12 16:40:37 -050024 uses: actions/checkout@v3
Davide Pesaventoba8a4ed2021-10-13 21:28:43 -040025 - name: Install dependencies
26 run: |
27 case ${RUNNER_OS} in
28 Linux) export NODE_LABELS="Linux Ubuntu" ;;
29 macOS) export NODE_LABELS="OSX" ;;
30 esac
31 find .jenkins.d/ -type f -name '[1-9]*.sh' -exec chmod -x '{}' +
32 ./.jenkins
33 - name: Build documentation
34 run: |
35 ./waf --color=yes configure
36 ./waf --color=yes build --targets=version.hpp
37 ./waf --color=yes build --targets=manpages
38 ./waf --color=yes docs