Commit Graph

39 Commits

Author SHA1 Message Date
John Cupitt
6cdb199646 switch macos CI to the new cgif formula 2021-11-19 16:24:19 +00:00
John Cupitt
7ed9760ab9 enable debug for CI
It turns on quite a few useful asserts.
2021-11-19 14:57:34 +00:00
Kleis Auke Wolthuizen
5ab66e16e1
Fix UBSan errors (#1948)
* Ensure UBSan exits with a non-zero code on error

* Avoid misaligned member access in mosaic_fuzzer

* Add missing VIPS_CLIP in scRGB2sRGB/scRGB2BW

* Fix UBSan error in flatten

By using saturated casts for the int types (copied from vips_cast).

* CI: ensure fuzzer log is printed on error

* Avoid UB in heifload

* Revert flatten change

I could no longer reproduce this with clang 12 locally.

* Indentation fixes [skip ci]
2021-09-12 13:14:24 +01:00
Kleis Auke Wolthuizen
f2e5b7e9da
CI: resolve failures and various improvements (#2426)
* Simplify CI workflow

* CI: upgrade Ubuntu's Clang version to 12

* CI: upgrade macOS runner to version 11 (Big Sur)

* CI: temporarily disable the M1 runner

* CI: output test suite log upon failure

* CI: avoid brew update/upgrade steps

Since it may take a long time.

* CI: all jobs are supposed to succeed

* Fix test_descriptors.c failure after f8c2a36

Use a RANDOM image to create many crops from one source.
2021-09-07 11:14:45 +01:00
Lovell Fuller
1f5d6f6bc9
Add gifsave operation, depends on cgif and libimagequant (#2381) 2021-08-22 18:11:41 +01:00
John Cupitt
86466a9b9a put the sudo back
we probably need to change the user that macos-m1 runs as
2021-07-23 18:35:14 +01:00
John Cupitt
a0709f1bfc try install without sudo
since macos won't sudo as admin
2021-07-23 18:31:05 +01:00
John Cupitt
65ac1efc5f ci on m1 2021-07-23 14:04:45 +01:00
John Cupitt
b4560b6802 ci on m1 try 2021-07-23 14:01:45 +01:00
John Cupitt
635bf530b8 github actions for m1
another try
2021-07-23 14:00:28 +01:00
John Cupitt
ed697bd040 try to fix m1 build 2021-07-23 13:57:47 +01:00
John Cupitt
6ae68b9113 another try at a workflow for m1 2021-07-23 13:55:04 +01:00
John Cupitt
3b2003a31a attempt to add macos-m1 to CI
who knows, it might work
2021-07-23 12:58:34 +01:00
Kleis Auke Wolthuizen
8b01104c67 Add suppressions file for ThreadSanitizer 2021-05-03 13:21:45 +02:00
Lovell Fuller
23998b42ce CI: remove imagemagick as a dependency on macOS 2021-04-26 19:57:23 +01:00
Kleis Auke Wolthuizen
19e0d0cda1 Use imagemagick@6 on the macOS CI runner
To avoid a dependency on OpenMP.
2021-04-21 14:20:48 +02:00
Lovell Fuller
76fa92cd17 CI: ensure brew install as a single line, split into base vs formats 2021-04-18 21:25:34 +01:00
John Cupitt
cc04449dc5 remove extraeous "brew upgrade" 2021-04-12 20:40:00 +01:00
John Cupitt
b27a10c547 ask brew to update/upgrade
might help CI failures on macOS
2021-04-12 16:55:01 +01:00
John Cupitt
02163e7810 add openjpeg to CI 2021-03-20 13:00:42 +00:00
Kleis Auke Wolthuizen
b93db2f2bb Avoid line-continuation backslash 2021-02-09 15:03:05 +01:00
Kleis Auke Wolthuizen
c49d0935ee Migrate from Travis CI to GitHub Actions 2021-02-08 21:12:27 +01:00
John Cupitt
1f4f975e7d make leak test exit with an error code
and run the libvips leak test in CI
2021-02-08 11:25:56 +00:00
Kleis Auke Wolthuizen
966317802e Ensure that other branches are also tested 2021-01-06 12:57:03 +01:00
Kleis Auke Wolthuizen
269b2e04d4 Test with libheif PPA on GitHub Actions
Since the one provided by Ubuntu 20.04 does not depend on aom.
2021-01-06 12:36:26 +01:00
John Cupitt
cbe9934e24 note libheif problems 2020-12-23 16:16:36 +00:00
John Cupitt
2e767a1a9a fix up github actions again
revert to the 20.04 libheif/libde265/etc. packages, since we get the test
suite to pass with them
2020-12-23 16:01:02 +00:00
John Cupitt
eed882c2a3 add libx265-dev as well
also needed by libheif.pc
2020-12-23 13:10:58 +00:00
John Cupitt
b9e0135110 libde265-dev is needed too 2020-12-23 12:40:46 +00:00
John Cupitt
165acc9f4c fix workflow syntax error 2020-12-23 12:34:36 +00:00
John Cupitt
fe56a43ef5 libheif should work in actions now
libaom-dev is required by libheif-dev, but not listed as a dependency
2020-12-23 12:29:13 +00:00
John Cupitt
455a6e18af add some workflow dbg 2020-12-23 12:05:00 +00:00
John Cupitt
3a5238747e try to fix libheif detection
perhaps we need to update after adding the ppas
2020-12-23 11:23:25 +00:00
John Cupitt
669ddccd46 fix syntax in action 2020-12-23 06:25:40 +00:00
John Cupitt
0357239992 perhaps we can ldconfig in a second run: 2020-12-23 06:22:44 +00:00
John Cupitt
e0f966c0ca try adding the libheif ppa 2020-12-23 06:08:44 +00:00
John Cupitt
98007d5c44 remove libimagequant from actions
seems their ubuntu is missing this
2020-12-23 06:02:39 +00:00
John Cupitt
2f57bdada6 revise workflow 2020-12-23 05:59:31 +00:00
John Cupitt
e3ea324094 experiment with adding github actions
switching away from travis
2020-12-23 05:47:34 +00:00