summaryrefslogtreecommitdiff
path: root/.github/workflows/docs.yml
blob: 79755b741973f8ff3a4c16f9e110e4b36a7ede03 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
name: Build docs

on:
  push:
  pull_request:
    paths:
      - docs/**
      - py/**
      - tests/cpydiff/**

concurrency:
  group: ${{ github.workflow }}-${{ github.ref }}
  cancel-in-progress: true

jobs:
  build:
    runs-on: ubuntu-latest

    steps:
    - uses: actions/checkout@v6
    - uses: actions/setup-python@v6
    - name: Install Python packages
      run: pip install -r docs/requirements.txt
    - name: Build unix port
      run: tools/ci.sh unix_build_helper
    - name: Build docs
      run: make -C docs/ html