ci: fix doxygen generation not running

Also took the opportunity to add some sensible filters to the main ci script.
This commit is contained in:
Mark Gillard 2022-04-22 23:27:11 +03:00
parent 2c5580c71d
commit 62c4c34e15
2 changed files with 36 additions and 4 deletions

View File

@ -1,6 +1,30 @@
name: ci name: ci
on: [push, pull_request] on:
push:
branches:
- master
paths:
- '**.h'
- '**.hpp'
- '**.cpp'
- '**.inl'
- '**.py'
- '**/meson.build'
pull_request:
branches:
- master
paths:
- '**.h'
- '**.hpp'
- '**.cpp'
- '**.inl'
- '**.py'
- '**/meson.build'
workflow_dispatch:
branches:
- master
# This ensures that jobs get canceled when force-pushing # This ensures that jobs get canceled when force-pushing
concurrency: concurrency:

View File

@ -2,8 +2,16 @@ name: gh-pages
on: on:
push: push:
branches: master branches:
paths: docs/** - master
paths:
- '**.h'
- '**.hpp'
- '**.dox'
- 'docs/**'
workflow_dispatch:
branches:
- master
jobs: jobs:
gh-pages: gh-pages:
@ -21,7 +29,7 @@ jobs:
- name: Install dependencies - name: Install dependencies
run: | run: |
apt-get -y update apt-get -y update
apt-get -y install --no-install-recommends python3-pip doxygen apt-get -y install --no-install-recommends python3-pip doxygen git
pip3 install --upgrade --requirement tools/requirements.txt pip3 install --upgrade --requirement tools/requirements.txt
- name: Generate docs - name: Generate docs