blob: 9f25475777a4d2c8825ac1eab19455a931712589 [file] [log] [blame]
Davide Pesaventoe8c82ef2021-07-28 02:38:51 -04001name: Docs
2on:
3 push:
Davide Pesaventoc4343232021-08-13 23:17:05 -04004 paths-ignore:
5 - '.mailmap'
6 - '.travis.yml'
Davide Pesaventoe8c82ef2021-07-28 02:38:51 -04007 workflow_dispatch:
8
Davide Pesaventoc4343232021-08-13 23:17:05 -04009permissions:
10 contents: read
11
Davide Pesaventoe8c82ef2021-07-28 02:38:51 -040012jobs:
13 build:
14 strategy:
15 fail-fast: false
16 matrix:
17 os: [macos-10.15, ubuntu-20.04]
18 runs-on: ${{ matrix.os }}
19 env:
20 JOB_NAME: Docs
21 WAF_JOBS: 3
22 steps:
23 - name: Checkout
24 uses: actions/checkout@v2
25 - name: Install dependencies
26 run: |
27 case ${RUNNER_OS} in
28 Linux) export NODE_LABELS="Linux Ubuntu Ubuntu-20.04" ;;
29 macOS) export NODE_LABELS="OSX OSX-10.15" ;;
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=manpages