blob: 19276c1d40404ac03208cbc12d1e106cf53b79dc [file] [log] [blame]
Davide Pesavento3c7f6452021-10-02 04:06: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 Pesavento27dd70c2022-08-19 16:24:28 -040014 runs-on: ${{ matrix.os }}
Davide Pesavento3c7f6452021-10-02 04:06:26 -040015 strategy:
16 fail-fast: false
17 matrix:
Davide Pesavento27dd70c2022-08-19 16:24:28 -040018 os: [macos-12, ubuntu-20.04]
Davide Pesavento3c7f6452021-10-02 04:06:26 -040019 env:
20 JOB_NAME: Docs
Davide Pesavento3c7f6452021-10-02 04:06:26 -040021 steps:
22 - name: Checkout
Davide Pesaventoa0ae15d2022-03-09 18:10:23 -050023 uses: actions/checkout@v3
Davide Pesavento3c7f6452021-10-02 04:06:26 -040024 - name: Install dependencies
25 run: |
Davide Pesavento3c7f6452021-10-02 04:06:26 -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=version.hpp
32 ./waf --color=yes docs