mirror of
https://github.com/marzer/tomlplusplus.git
synced 2024-11-02 02:26:28 +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
|
||||
|
||||
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
|
||||
concurrency:
|
||||
|
14
.github/workflows/gh-pages.yaml
vendored
14
.github/workflows/gh-pages.yaml
vendored
@ -2,8 +2,16 @@ name: gh-pages
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: master
|
||||
paths: docs/**
|
||||
branches:
|
||||
- master
|
||||
paths:
|
||||
- '**.h'
|
||||
- '**.hpp'
|
||||
- '**.dox'
|
||||
- 'docs/**'
|
||||
workflow_dispatch:
|
||||
branches:
|
||||
- master
|
||||
|
||||
jobs:
|
||||
gh-pages:
|
||||
@ -21,7 +29,7 @@ jobs:
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
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
|
||||
|
||||
- name: Generate docs
|
||||
|
Loading…
Reference in New Issue
Block a user