mirror of
https://github.com/systemd/systemd-stable.git
synced 2024-12-31 17:17:43 +03:00
build tests: check that Github pages can be built successfully
This commit is contained in:
parent
2adcf6f4f7
commit
2d4efd1dba
1
.github/workflows/unit_tests.sh
vendored
1
.github/workflows/unit_tests.sh
vendored
@ -6,6 +6,7 @@ ADDITIONAL_DEPS=(
|
||||
clang
|
||||
expect
|
||||
fdisk
|
||||
jekyll
|
||||
libfdisk-dev
|
||||
libfido2-dev
|
||||
libp11-kit-dev
|
||||
|
15
meson.build
15
meson.build
@ -3501,6 +3501,21 @@ meson.add_install_script('sh', '-c', 'touch $DESTDIR@0@'.format(prefixdir))
|
||||
|
||||
############################################################
|
||||
|
||||
# Ensure that changes to the docs/ directory do not break the
|
||||
# basic Github pages build. But only run it in developer mode,
|
||||
# as it might be fragile due to changes in the tooling, and it is
|
||||
# not generally useful for users.
|
||||
jekyll = find_program('jekyll', required : false)
|
||||
if get_option('mode') == 'developer' and want_tests != 'false' and jekyll.found()
|
||||
test('github-pages',
|
||||
jekyll,
|
||||
args : ['build',
|
||||
'--source', join_paths(project_source_root, 'docs'),
|
||||
'--destination', join_paths(project_build_root, '_site')])
|
||||
endif
|
||||
|
||||
############################################################
|
||||
|
||||
check_help = find_program('tools/check-help.sh')
|
||||
|
||||
foreach exec : public_programs
|
||||
|
Loading…
Reference in New Issue
Block a user