mirror of
https://github.com/harfbuzz/harfbuzz.git
synced 2025-04-05 05:25:05 +00:00
[docs] Disable gtdoc-check by default
It slows build as it causes documentation to be always rebuilt. We now disable it by default and enable it on relevant CI jobs.
This commit is contained in:
parent
d165afec1d
commit
b4b089c427
3 changed files with 4 additions and 1 deletions
1
.github/workflows/linux-ci.yml
vendored
1
.github/workflows/linux-ci.yml
vendored
|
@ -49,6 +49,7 @@ jobs:
|
|||
-Dgraphite=enabled \
|
||||
-Doptimization=2 \
|
||||
-Db_coverage=true \
|
||||
-Ddoc_tests=true \
|
||||
-Dragel_subproject=true
|
||||
- name: Build
|
||||
run: meson compile -Cbuild
|
||||
|
|
|
@ -60,5 +60,5 @@ gnome.gtkdoc('harfbuzz',
|
|||
ignore_headers: ignore_headers,
|
||||
dependencies: [libharfbuzz_dep],
|
||||
install: true,
|
||||
check: true,
|
||||
check: get_option('doc_tests'),
|
||||
)
|
||||
|
|
|
@ -29,6 +29,8 @@ option('introspection', type: 'feature', value: 'auto', yield: true,
|
|||
description: 'Generate gobject-introspection bindings (.gir/.typelib files)')
|
||||
option('docs', type: 'feature', value: 'auto', yield: true,
|
||||
description: 'Generate documentation with gtk-doc')
|
||||
option('doc_tests', type: 'boolean', value: false,
|
||||
description: 'Run gtkdoc-check tests')
|
||||
|
||||
option('benchmark', type: 'feature', value: 'disabled',
|
||||
description: 'Enable benchmark tests')
|
||||
|
|
Loading…
Add table
Reference in a new issue