From aea262f6f66dc7bdd3b9c83c2c4e46d8949a81eb Mon Sep 17 00:00:00 2001 From: John Cupitt Date: Fri, 18 Feb 2022 10:01:13 +0000 Subject: [PATCH] try to move CI to meson --- .github/workflows/ci.yml | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3e1dd214..ac8dc463 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -62,6 +62,7 @@ jobs: if: runner.os == 'Linux' run: sudo -E apt-get install --fix-missing -qq -o Acquire::Retries=3 + meson ninja gtk-doc-tools gobject-introspection python3-pip python3-setuptools python3-wheel libfftw3-dev libexif-dev libjpeg-turbo8-dev @@ -76,7 +77,7 @@ jobs: - name: Install macOS dependencies if: runner.os == 'macOS' run: | - brew install autoconf automake libtool fftw fontconfig gtk-doc gobject-introspection glib libexif libgsf little-cms2 orc pango + brew install meson ninja fftw fontconfig gtk-doc gobject-introspection 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 @@ -120,19 +121,16 @@ jobs: - name: Configure libvips run: - ./autogen.sh - --enable-debug - --disable-dependency-tracking - --disable-deprecated || (cat config.log && exit 1) + meson setup build -Ddebug=true -Ddeprecated=false - name: Build libvips - run: make V=0 -j$JOBS + run: cd build && ninja - name: Check libvips - run: make V=0 VERBOSE=1 check + run: cd build && ninja test - name: Install libvips - run: sudo make V=0 install + run: cd build && ninja install - name: Rebuild the shared library cache if: runner.os == 'Linux'