blob: 37b8c1c1a9863db5b5e051f183e403c191deb0c0 [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:
Davide Pesavento2c8ec072021-09-30 00:04:23 -04005 - '*.md'
Davide Pesaventoc4343232021-08-13 23:17:05 -04006 - '.mailmap'
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:
Davide Pesavento2c8ec072021-09-30 00:04:23 -040017 os: [macos-11, ubuntu-20.04]
Davide Pesaventoe8c82ef2021-07-28 02:38:51 -040018 runs-on: ${{ matrix.os }}
19 env:
20 JOB_NAME: Docs
Davide Pesaventoe8c82ef2021-07-28 02:38:51 -040021 steps:
22 - name: Checkout
Davide Pesavento96412a12022-03-05 13:34:23 -050023 uses: actions/checkout@v3
Davide Pesaventoe8c82ef2021-07-28 02:38:51 -040024 - name: Install dependencies
25 run: |
Davide Pesaventoe8c82ef2021-07-28 02:38:51 -040026 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=manpages