blob: f878d721ebfaaa4d851998f4eddc0c49714a88a3 [file] [log] [blame]
Davide Pesavento8f0028d2021-07-27 20:01:06 -04001name: Docs
2on:
3 push:
Davide Pesavento13dae352021-08-13 15:40:54 -04004 paths-ignore:
Davide Pesaventof28a0612021-09-29 23:13:32 -04005 - '*.md'
Davide Pesavento13dae352021-08-13 15:40:54 -04006 - '.mailmap'
Davide Pesavento8f0028d2021-07-27 20:01:06 -04007 workflow_dispatch:
8
Davide Pesavento13dae352021-08-13 15:40:54 -04009permissions:
10 contents: read
11
Davide Pesavento8f0028d2021-07-27 20:01:06 -040012jobs:
13 build:
14 strategy:
15 fail-fast: false
16 matrix:
Davide Pesaventof28a0612021-09-29 23:13:32 -040017 os: [macos-11, ubuntu-20.04]
Davide Pesavento8f0028d2021-07-27 20:01:06 -040018 runs-on: ${{ matrix.os }}
19 env:
20 JOB_NAME: Docs
Davide Pesavento8f0028d2021-07-27 20:01:06 -040021 steps:
22 - name: Checkout
Davide Pesaventoc52cd5e2022-03-05 20:40:54 -050023 uses: actions/checkout@v3
Davide Pesavento8f0028d2021-07-27 20:01:06 -040024 with:
25 submodules: true
26 - name: Install dependencies
27 run: |
Davide Pesavento8f0028d2021-07-27 20:01:06 -040028 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