mirror of
https://github.com/marzer/tomlplusplus.git
synced 2025-02-25 06:39:58 +00:00
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:
parent
2c5580c71d
commit
62c4c34e15
26
.github/workflows/ci.yaml
vendored
26
.github/workflows/ci.yaml
vendored
@ -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:
|
||||||
|
14
.github/workflows/gh-pages.yaml
vendored
14
.github/workflows/gh-pages.yaml
vendored
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user