Davide Pesavento | 90a632b | 2021-10-04 01:05:24 -0400 | [diff] [blame] | 1 | name: Docs |
| 2 | on: |
| 3 | push: |
| 4 | paths-ignore: |
| 5 | - '*.md' |
| 6 | - '.mailmap' |
| 7 | workflow_dispatch: |
| 8 | |
| 9 | permissions: |
| 10 | contents: read |
| 11 | |
| 12 | jobs: |
| 13 | build: |
Davide Pesavento | 423553e | 2022-08-19 20:46:06 -0400 | [diff] [blame] | 14 | runs-on: ${{ matrix.os }} |
Davide Pesavento | 90a632b | 2021-10-04 01:05:24 -0400 | [diff] [blame] | 15 | strategy: |
| 16 | fail-fast: false |
| 17 | matrix: |
Davide Pesavento | 423553e | 2022-08-19 20:46:06 -0400 | [diff] [blame] | 18 | os: [macos-12, ubuntu-20.04] |
Davide Pesavento | 90a632b | 2021-10-04 01:05:24 -0400 | [diff] [blame] | 19 | env: |
| 20 | JOB_NAME: Docs |
Davide Pesavento | 90a632b | 2021-10-04 01:05:24 -0400 | [diff] [blame] | 21 | steps: |
| 22 | - name: Checkout |
Davide Pesavento | 7f27ec1 | 2022-03-10 20:10:54 -0500 | [diff] [blame] | 23 | uses: actions/checkout@v3 |
Davide Pesavento | 90a632b | 2021-10-04 01:05:24 -0400 | [diff] [blame] | 24 | - name: Install dependencies |
| 25 | run: | |
Davide Pesavento | 90a632b | 2021-10-04 01:05:24 -0400 | [diff] [blame] | 26 | 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=version.hpp |
| 32 | ./waf --color=yes build --targets=manpages |
| 33 | ./waf --color=yes docs |