blob: 9106b1fbd21f88c9e0bf7a816bbfcda824881913 [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:
Davide Pesavento4791fcb2022-08-14 17:40:05 -040014 runs-on: ${{ matrix.os }}
Davide Pesavento8f0028d2021-07-27 20:01:06 -040015 strategy:
16 fail-fast: false
17 matrix:
Davide Pesavento4791fcb2022-08-14 17:40:05 -040018 os: [macos-12, ubuntu-20.04]
Davide Pesavento8f0028d2021-07-27 20:01:06 -040019 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