blob: fd271881c648f3f241bc40cbbdf8b984a8d44d31 [file] [log] [blame]
Davide Pesavento22eeb292021-10-01 21:20:53 -04001name: Docs
2on:
3 push:
4 paths-ignore:
5 - '*.md'
6 - '.mailmap'
7 workflow_dispatch:
8
9permissions:
10 contents: read
11
12jobs:
13 build:
Davide Pesavento15a74422022-08-19 15:48:45 -040014 runs-on: ${{ matrix.os }}
Davide Pesavento22eeb292021-10-01 21:20:53 -040015 strategy:
16 fail-fast: false
17 matrix:
Davide Pesaventocda44892022-11-15 13:40:33 -050018 os: [macos-latest, ubuntu-latest]
Davide Pesavento22eeb292021-10-01 21:20:53 -040019 env:
20 JOB_NAME: Docs
Davide Pesavento22eeb292021-10-01 21:20:53 -040021 steps:
22 - name: Checkout
Davide Pesavento26a03262022-03-07 13:37:34 -050023 uses: actions/checkout@v3
Davide Pesavento22eeb292021-10-01 21:20:53 -040024 - name: Install dependencies
25 run: |
Davide Pesavento22eeb292021-10-01 21:20:53 -040026 find .jenkins.d/ -type f -name '[1-9]*.sh' -exec chmod -x '{}' +
27 ./.jenkins
28 - name: Build documentation
29 run: |
Davide Pesaventocda44892022-11-15 13:40:33 -050030 pybindir=$(python3 -c 'import sysconfig; print(sysconfig.get_path("scripts", "posix_user"))')
31 export PATH="${pybindir}${PATH:+:}${PATH}"
Davide Pesavento22eeb292021-10-01 21:20:53 -040032 ./waf --color=yes configure
33 ./waf --color=yes docs