Davide Pesavento | 30ed628 | 2021-07-25 20:05:06 -0400 | [diff] [blame] | 1 | name: Docs |
| 2 | on: |
| 3 | push: |
Davide Pesavento | 01cea50 | 2021-07-31 19:25:42 -0400 | [diff] [blame] | 4 | paths-ignore: |
Davide Pesavento | 83f8d16 | 2021-09-26 21:58:36 -0400 | [diff] [blame] | 5 | - '*.md' |
Davide Pesavento | 01cea50 | 2021-07-31 19:25:42 -0400 | [diff] [blame] | 6 | - '.mailmap' |
Davide Pesavento | 30ed628 | 2021-07-25 20:05:06 -0400 | [diff] [blame] | 7 | workflow_dispatch: |
| 8 | |
Davide Pesavento | 01cea50 | 2021-07-31 19:25:42 -0400 | [diff] [blame] | 9 | permissions: |
| 10 | contents: read |
| 11 | |
Davide Pesavento | 30ed628 | 2021-07-25 20:05:06 -0400 | [diff] [blame] | 12 | jobs: |
| 13 | build: |
| 14 | strategy: |
| 15 | fail-fast: false |
| 16 | matrix: |
Davide Pesavento | 83f8d16 | 2021-09-26 21:58:36 -0400 | [diff] [blame] | 17 | os: [macos-11, ubuntu-20.04] |
Davide Pesavento | 30ed628 | 2021-07-25 20:05:06 -0400 | [diff] [blame] | 18 | runs-on: ${{ matrix.os }} |
| 19 | env: |
| 20 | JOB_NAME: Docs |
Davide Pesavento | 30ed628 | 2021-07-25 20:05:06 -0400 | [diff] [blame] | 21 | steps: |
| 22 | - name: Checkout |
Davide Pesavento | 541a822 | 2022-03-01 15:08:42 -0500 | [diff] [blame] | 23 | uses: actions/checkout@v3 |
Davide Pesavento | 30ed628 | 2021-07-25 20:05:06 -0400 | [diff] [blame] | 24 | - name: Install dependencies |
| 25 | run: | |
Davide Pesavento | 30ed628 | 2021-07-25 20:05:06 -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 |