1
0
mirror of https://github.com/imgproxy/imgproxy.git synced 2026-05-16 09:18:09 +02:00

Update vips versions in CircleCI

This commit is contained in:
DarthSim
2019-06-13 19:20:01 +06:00
parent ddcbd63932
commit 4609785f6c
2 changed files with 24 additions and 23 deletions
+11 -10
View File
@@ -9,14 +9,16 @@ RUN apt-get -qq update \
RUN curl -s -S -L https://raw.githubusercontent.com/moovweb/gvm/master/binscripts/gvm-installer | bash -
RUN \
for VIPS_VERSION in "8.3" "8.4" "8.5" "8.6" "8.7"; do \
mkdir -p /root/vips \
&& cd /root/vips \
&& mkdir /root/vips/$VIPS_VERSION \
&& curl -s -S -L -o $VIPS_VERSION.zip https://github.com/libvips/libvips/archive/$VIPS_VERSION.zip \
&& unzip $VIPS_VERSION.zip \
&& cd libvips-$VIPS_VERSION \
&& test -f autogen.sh && ./autogen.sh || ./bootstrap.sh \
mkdir /root/vips \
&& cd /root/vips \
&& curl -s -S -L -o vips_releases.json "https://api.github.com/repos/libvips/libvips/releases" \
&& for VIPS_VERSION in "8.6" "8.7" "8.8"; do \
mkdir $VIPS_VERSION \
&& export VIPS_RELEASE=$(grep -m 1 "\"tag_name\": \"v$VIPS_VERSION." vips_releases.json | sed -E 's/.*"v([^"]+)".*/\1/') \
&& echo "Building Vips $VIPS_RELEASE as $VIPS_VERSION" \
&& curl -s -S -L -o $VIPS_RELEASE.tar.gz https://github.com/libvips/libvips/releases/download/v$VIPS_RELEASE/vips-$VIPS_RELEASE.tar.gz \
&& tar -xzf $VIPS_RELEASE.tar.gz \
&& cd vips-$VIPS_RELEASE \
&& ./configure \
--prefix=/root/vips/$VIPS_VERSION \
--without-python \
@@ -29,10 +31,9 @@ RUN \
--enable-gtk-doc-html=no \
--enable-gtk-doc=no \
--enable-pyvips8=no \
&& make \
&& make install \
&& cd .. \
&& rm -rf $VIPS_VERSION.zip libvips-$VIPS_VERSION; \
&& rm -rf $VIPS_RELEASE.tar.gz vips-$VIPS_RELEASE; \
done
WORKDIR /go/src
+13 -13
View File
@@ -9,7 +9,13 @@ workflows:
requires:
- checkout_code
go_version: "1.12"
vips_version: "8.7"
vips_version: "8.8"
- build:
name: go1.12_vips8.8
requires:
- checkout_code
go_version: "1.12"
vips_version: "8.8"
- build:
name: go1.12_vips8.7
requires:
@@ -23,11 +29,11 @@ workflows:
go_version: "1.12"
vips_version: "8.6"
- build:
name: go1.12_vips8.5
name: go1.11_vips8.8
requires:
- checkout_code
go_version: "1.12"
vips_version: "8.5"
go_version: "1.11"
vips_version: "8.8"
- build:
name: go1.11_vips8.7
requires:
@@ -41,11 +47,11 @@ workflows:
go_version: "1.11"
vips_version: "8.6"
- build:
name: go1.11_vips8.5
name: go1.10_vips8.8
requires:
- checkout_code
go_version: "1.11"
vips_version: "8.5"
go_version: "1.10"
vips_version: "8.8"
- build:
name: go1.10_vips8.7
requires:
@@ -58,12 +64,6 @@ workflows:
- checkout_code
go_version: "1.10"
vips_version: "8.6"
- build:
name: go1.10_vips8.5
requires:
- checkout_code
go_version: "1.10"
vips_version: "8.5"
executors:
imgproxy: