disable introspection for CI build

This commit is contained in:
John Cupitt 2022-02-18 10:48:22 +00:00
parent 3a7465cf79
commit e14deaf5c6
2 changed files with 7 additions and 5 deletions

View File

@ -63,7 +63,6 @@ jobs:
run:
sudo -E apt-get install --fix-missing -qq -o Acquire::Retries=3
ninja-build
gtk-doc-tools gobject-introspection
python3-pip python3-setuptools python3-wheel
libfftw3-dev libexif-dev libjpeg-turbo8-dev
libpng-dev libwebp-dev libtiff5-dev
@ -82,7 +81,7 @@ jobs:
- name: Install macOS dependencies
if: runner.os == 'macOS'
run: |
brew install meson ninja fftw fontconfig gtk-doc gobject-introspection glib libexif libgsf little-cms2 orc pango
brew install meson ninja fftw fontconfig glib libexif libgsf little-cms2 orc pango
brew install cfitsio libheif libimagequant libjpeg-turbo libmatio librsvg libspng libtiff openexr openjpeg openslide poppler webp
brew tap lovell/cgif-packaging https://github.com/lovell/cgif-packaging.git
brew install --build-bottle lovell/cgif-packaging/cgif
@ -126,8 +125,11 @@ jobs:
- name: Configure libvips
run:
meson setup build -Ddebug=true -Ddeprecated=false ||
(cat build/meson-logs/meson-log.txt && exit 1)
meson setup build
-Ddebug=true
-Ddeprecated=false
-Dintrospection=false
|| (cat build/meson-logs/meson-log.txt && exit 1)
- name: Build libvips
run: cd build && ninja

View File

@ -2,7 +2,7 @@ option('deprecated', type : 'boolean', value : true, description: 'Build depreca
option('doxygen', type : 'boolean', value : false, description: 'Build C++ documentation')
option('gtk_doc', type : 'boolean', value : false, description: 'Build GTK-doc documentation')
option('modules', type : 'feature', value : 'auto', description: 'Build dynamic modules')
option('introspection', type : 'boolean', value : 'auto', description: 'Build GObject Introspection')
option('introspection', type : 'boolean', value : true, description: 'Build GObject Introspection')
option('vapi', type : 'boolean', value : false, description: 'Build VAPI')
# External libraries
option('cfitsio', type : 'feature', value : 'auto', description: 'Build with cfitsio')