blob: fd271881c648f3f241bc40cbbdf8b984a8d44d31 [file] [log] [blame]
Davide Pesavento8dce1942021-10-02 22:31:26 -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 Pesaventoda1a4d32022-08-19 19:03:24 -040014 runs-on: ${{ matrix.os }}
Davide Pesavento8dce1942021-10-02 22:31:26 -040015 strategy:
16 fail-fast: false
17 matrix:
Davide Pesaventob68f2842022-11-17 19:07:04 -050018 os: [macos-latest, ubuntu-latest]
Davide Pesavento8dce1942021-10-02 22:31:26 -040019 env:
20 JOB_NAME: Docs
Davide Pesavento8dce1942021-10-02 22:31:26 -040021 steps:
22 - name: Checkout
Davide Pesavento85a73d22022-03-06 16:00:01 -050023 uses: actions/checkout@v3
Davide Pesavento8dce1942021-10-02 22:31:26 -040024 - name: Install dependencies
25 run: |
Davide Pesavento8dce1942021-10-02 22:31:26 -040026 find .jenkins.d/ -type f -name '[1-9]*.sh' -exec chmod -x '{}' +
27 ./.jenkins
28 - name: Build documentation
29 run: |
Davide Pesaventob68f2842022-11-17 19:07:04 -050030 pybindir=$(python3 -c 'import sysconfig; print(sysconfig.get_path("scripts", "posix_user"))')
31 export PATH="${pybindir}${PATH:+:}${PATH}"
Davide Pesavento8dce1942021-10-02 22:31:26 -040032 ./waf --color=yes configure
33 ./waf --color=yes docs