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'
|
if: runner.os == 'Linux'
|
||||||
run:
|
run:
|
||||||
sudo -E apt-get install --fix-missing -qq -o Acquire::Retries=3
|
sudo -E apt-get install --fix-missing -qq -o Acquire::Retries=3
|
||||||
|
meson ninja
|
||||||
gtk-doc-tools gobject-introspection
|
gtk-doc-tools gobject-introspection
|
||||||
python3-pip python3-setuptools python3-wheel
|
python3-pip python3-setuptools python3-wheel
|
||||||
libfftw3-dev libexif-dev libjpeg-turbo8-dev
|
libfftw3-dev libexif-dev libjpeg-turbo8-dev
|
||||||
@ -76,7 +77,7 @@ jobs:
|
|||||||
- name: Install macOS dependencies
|
- name: Install macOS dependencies
|
||||||
if: runner.os == 'macOS'
|
if: runner.os == 'macOS'
|
||||||
run: |
|
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 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 tap lovell/cgif-packaging https://github.com/lovell/cgif-packaging.git
|
||||||
brew install --build-bottle lovell/cgif-packaging/cgif
|
brew install --build-bottle lovell/cgif-packaging/cgif
|
||||||
@ -120,19 +121,16 @@ jobs:
|
|||||||
|
|
||||||
- name: Configure libvips
|
- name: Configure libvips
|
||||||
run:
|
run:
|
||||||
./autogen.sh
|
meson setup build -Ddebug=true -Ddeprecated=false
|
||||||
--enable-debug
|
|
||||||
--disable-dependency-tracking
|
|
||||||
--disable-deprecated || (cat config.log && exit 1)
|
|
||||||
|
|
||||||
- name: Build libvips
|
- name: Build libvips
|
||||||
run: make V=0 -j$JOBS
|
run: cd build && ninja
|
||||||
|
|
||||||
- name: Check libvips
|
- name: Check libvips
|
||||||
run: make V=0 VERBOSE=1 check
|
run: cd build && ninja test
|
||||||
|
|
||||||
- name: Install libvips
|
- name: Install libvips
|
||||||
run: sudo make V=0 install
|
run: cd build && ninja install
|
||||||
|
|
||||||
- name: Rebuild the shared library cache
|
- name: Rebuild the shared library cache
|
||||||
if: runner.os == 'Linux'
|
if: runner.os == 'Linux'
|
||||||
|
Loading…
Reference in New Issue
Block a user