mirror of https://github.com/GNOME/gimp.git
gitlab, meson, plug-ins: add a -Dfile-plug-ins-test meson option.
This option is run by the CI and makes so that the test-file-plug-ins plug-in is always installed in the CI, even on stable releases. But by default, they are not installed on stable releases.
This commit is contained in:
parent
d52117a7f7
commit
03e9fbbd92
|
@ -367,6 +367,7 @@ gimp-debian-x64:
|
|||
- echo -e "\e[0Ksection_start:`date +%s`:gimp_build[collapsed=true]\r\e[0KBuilding GIMP"
|
||||
- meson setup _build-${RUNNER} -Dprefix="${GIMP_PREFIX}"
|
||||
-Dg-ir-doc=true
|
||||
-Dfile-plug-ins-test=true
|
||||
$MESON_OPTIONS
|
||||
- cd _build-${RUNNER}
|
||||
- ninja
|
||||
|
|
|
@ -54,6 +54,7 @@ option('wmf', type: 'feature', value: 'auto', description: 'Wmf su
|
|||
option('xcursor', type: 'feature', value: 'auto', description: 'Xcursor support')
|
||||
option('xpm', type: 'feature', value: 'auto', description: 'XPM support')
|
||||
option('headless-tests', type: 'feature', value: 'auto', description: 'Use xvfb-run/dbus-run-session for UI-dependent automatic tests')
|
||||
option('file-plug-ins-test', type: 'boolean', value: 'false', description: 'Always install test-file-plug-ins (mostly for CI testing)')
|
||||
|
||||
option('can-crosscompile-gir', type: 'boolean', value: false, description: 'GIR is buildable even if crosscompiling')
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
if not stable or not release or gimp_version.endswith('+git')
|
||||
if not stable or not release or gimp_version.endswith('+git') or get_option('file-plug-ins-test')
|
||||
|
||||
# This does not get installed for releases
|
||||
plugins += {
|
||||
|
|
Loading…
Reference in New Issue