try to move CI to meson
This commit is contained in:
parent
dc069f8892
commit
aea262f6f6
14
.github/workflows/ci.yml
vendored
14
.github/workflows/ci.yml
vendored
@ -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'
|
||||
|
Loading…
Reference in New Issue
Block a user