Skip to content

Commit

Permalink
build(deps): libvips 8.14.3 (#377)
Browse files Browse the repository at this point in the history
* build(deps): libvips 8.14.3

* test: reset golden

* cleanup

* test: update golden files
  • Loading branch information
cshum authored Jul 26, 2023
1 parent dbec125 commit 85e0803
Show file tree
Hide file tree
Showing 12 changed files with 10 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
runs-on: ubuntu-20.04
env:
CGO_CFLAGS_ALLOW: -Xpreprocessor
VIPS_VERSION: 8.14.2
VIPS_VERSION: 8.14.3
V: 5

steps:
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
ARG GOLANG_VERSION=1.20.4
FROM golang:${GOLANG_VERSION}-bullseye as builder

ARG VIPS_VERSION=8.14.2
ARG VIPS_VERSION=8.14.3
ARG CGIF_VERSION=0.3.0
ARG LIBSPNG_VERSION=0.7.3
ARG TARGETARCH
Expand Down
5 changes: 5 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,9 @@ git-tag:
git tag "v$(VERSION)"
git push origin "refs/tags/v$(VERSION)"

reset-golden:
git rm -rf testdata/golden
git commit -m "test: reset golden"
git push

release: build git-tag
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed testdata/golden/fit-in/100x100/gopher-front.avif
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 3 additions & 3 deletions vips/processor_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -52,12 +52,12 @@ func TestProcessor(t *testing.T) {
{name: "jpeg", path: "fit-in/100x100/demo1.jpg"},
{name: "webp", path: "fit-in/100x100/demo3.webp", arm64Golden: true},
{name: "tiff", path: "fit-in/100x100/gopher.tiff"},
{name: "avif", path: "fit-in/100x100/gopher-front.avif", checkTypeOnly: true},
//{name: "avif", path: "fit-in/100x100/gopher-front.avif", checkTypeOnly: true},
{name: "export gif", path: "filters:format(gif):quality(70)/gopher-front.png"},
{name: "export webp", path: "filters:format(webp):quality(70)/gopher-front.png", arm64Golden: true},
{name: "export tiff", path: "filters:format(tiff):quality(70)/gopher-front.png"},
{name: "export avif", path: "filters:format(avif):quality(70)/gopher-front.png", checkTypeOnly: true},
{name: "export heif", path: "filters:format(heif):quality(70)/gopher-front.png", checkTypeOnly: true},
//{name: "export avif", path: "filters:format(avif):quality(70)/gopher-front.png", checkTypeOnly: true},
//{name: "export heif", path: "filters:format(heif):quality(70)/gopher-front.png", checkTypeOnly: true},
}, WithDebug(true), WithLogger(zap.NewExample()))
})
t.Run("meta", func(t *testing.T) {
Expand Down

0 comments on commit 85e0803

Please sign in to comment.