Commit Graph

61 Commits

Author SHA1 Message Date
Kevin Backhouse
e6ce13729b
Add workaround for conan outage: https://github.com/conan-io/conan/issues/9695 2021-10-01 10:32:00 +01:00
Kevin Backhouse
e1b9538ba5
Add doc to release build. 2021-09-09 19:46:34 +01:00
Kevin Backhouse
7a6acc4eca
Standardize on conan 1.39.0 2021-09-09 17:15:10 +01:00
Kevin Backhouse
5bfa568b63
Add OSS-Fuzz status badge and CIFuzz integration. 2021-08-17 17:47:17 +01:00
Christoph Hasse
dcb65d91ec workaround for softprops/action-gh-release#139 2021-08-09 12:38:17 +02:00
Kevin Backhouse
89abcad124
Add LSAN suppressions. 2021-08-08 11:38:31 +01:00
Christoph Hasse
c65941c4cd check integrity of codecov executable
Co-authored-by: Kevin Backhouse <kevinbackhouse@github.com>
2021-07-30 16:09:56 +02:00
Christoph Hasse
a18aa137bc check integrity of codecov executable
Co-authored-by: Kevin Backhouse <kevinbackhouse@github.com>
2021-07-30 16:09:56 +02:00
Christoph Hasse
f3d2ed3f86 update codecov coverage github action and remove use of deprecated bash uploader 2021-07-30 16:09:56 +02:00
Kevin Backhouse
593fcbd865
Add fuzzing dictionary and test all printStructure() options 2021-07-27 22:51:13 +01:00
Kevin Backhouse
e157fd63cb
Add -workers option to use all cores. 2021-07-13 13:13:45 +01:00
Kevin Backhouse
7eef360295
Try with sudo. 2021-07-12 15:59:17 +01:00
Kevin Backhouse
b4448fcd52
Fix indentation 2021-07-12 14:40:03 +01:00
Kevin Backhouse
f4a0335d79
Add workflow_dispatch for manual trigger 2021-07-12 14:29:51 +01:00
Kevin Backhouse
95397cc17a
Action that runs fuzzer for short amount of time on PRs. 2021-07-12 13:14:24 +01:00
Kevin Backhouse
fb824ac052
Add custom CodeQL query for null iterator deref. 2021-07-08 16:50:55 +01:00
Kevin Backhouse
695d22c27a
feat: Codeql analysis (#1747)
* Create codeql-analysis.yml

* Add main branch.

* Update to latest boilerplate.

* Replace schedule with workflow_dispatch, so that it can be triggered manually.

Co-authored-by: Robin Mills <robin@clanmills.com>
2021-06-28 15:00:10 +02:00
Christoph Hasse
f8962224fd fix: prevent creation of nightly release with draf==true
Sometime the nightly pre-release would be in "draft" status on github.
It's hard to reproduce but I had the guess that maybe the deletion of
old tag and release on the github side wasn't quite done when the
new release was being created. Of course only speculation...
But, moving the download of the artifacts in betweent these two steps
seems to have fixed the symptom.
2021-06-04 15:50:53 +02:00
Luis Díaz Más
f30022d73d
Fix issues detected with PVS-Studio + other little improvements (#1689)
* avoid re-declaration of constant variables

* Replace pthreads critical section with std::mutex

* ci - better naming

* cmake - increase minimum version to 3.11. Use project DESCRIPTION

* fix - do not treat string::find() return type as bool

* remove conditions that were always true

* remove condition that were always false

* Remove EXV_HAVE_GMTIME_R which is not used anymore

* pixelWidth_ was inherited from Exiv2::Image

The width & height variables in the TiffImage class need to be mutable
to be able to change their values on the getters pixelHeight() and
pixelWidth() ... Do not ask me why ...

* Remove superfluous if

* pvs:V766 item with identical key added already

* pvs:V730 not all members were initialized (time)

* pvs:V730 not all members are initialized

* pvs:v668 no point in testing pointer against null after new

* pvs:V1048 variable assigned the same value

* replace c-style dynamic vector with std one

* pvs:547 fakeData is always true

* Remove useless constructor in derived class

* pvs:V690 modern way to disable copy-ctor

* Replace malloc/free with new/delete. No need to check for null

* pvs:V1028 cast operands and not result

* Remove custom MIN/MAX functions

* pvs:V595 pointer used before verified against null

* pvs: index used before being checked

* pvs:V1028 possible overflow. Cast operands

* pvs:v575 potential null pointer passed to other functions

* pvs:V547 deal with always true/false expressions

* pvs:V560 part of conditional expressions always false or true

* pvs:V701 possible break in realloc -> move to std::vector

* Make some classes 'final'

* Replace sprintf with std::to_string()

* fix compilation on windows
2021-06-01 12:39:10 +02:00
Christoph Hasse
024830a72c
feat: Setup github actions workflow to build tagged release and nightly pre-release (#1676) 2021-05-31 16:50:11 +02:00
Luis Díaz Más
b83b2197c1 ci - Linux distros jobs being more explicit about options used 2021-05-18 14:39:17 +02:00
Luis Díaz Más
0d45de7519 ci - Replace debian:9 with debian:10 2021-05-18 14:39:17 +02:00
Luis Díaz Más
44256e8c5d ci - Win matrix jobs will also run on:push for main
The idea is to generate a conan cache on main that could be reused in
future PRs to main.
2021-05-17 07:31:45 +02:00
Luis Díaz Más
9241f60880 win - Only run tests on x64
On CI, pythonTests fail more or less consistently in the configuration
Arch:x86, BuildType:Relase, Shared:ON. I tried to reproduce this locally,
but I could not.

Since Win-x86 is marginal for Exiv2, we disable it from CI until
somebody raise concerns about it.
2021-05-17 07:31:45 +02:00
Luis Díaz Más
59a80eba2e mac - cmake_paths does not work directly on mac 2021-05-17 07:31:45 +02:00
Luis Díaz Más
4f057a84ee ci - Win builds without unicode + with warnings as errors 2021-05-17 07:31:45 +02:00
Luis Díaz Más
34945e39c4 ci - Use CTest for coverage builds 2021-05-15 19:03:14 +02:00
Luis Díaz Más
8d596283b1 ci - install tar in opensuse before checkout action 2021-05-15 19:03:14 +02:00
Luis Diaz Mas
d5782ea8fb ci - distros - fastTrue=False 2021-05-15 19:03:14 +02:00
Luis Díaz Más
f956a398ad ci - Use CTest in all the ci jobs 2021-05-15 16:58:24 +02:00
Luis Díaz Más
381a33b12d ci - Add new special build with all project options enabled 2021-05-15 16:58:24 +02:00
Luis Diaz Mas
b163158100 ci - Use ctest 2021-05-15 16:58:24 +02:00
Luis Díaz Más
d2083b3190 ci - Use generic cmake way to compile and install 2021-05-14 21:31:10 +02:00
Luis Diaz Mas
e6bfa8eb7d ci - Use Ninja in rest of builds 2021-05-14 21:31:10 +02:00
Luis Diaz Mas
fb17e75539 ci - mac uses ninja 2021-05-14 21:31:10 +02:00
Luis Diaz Mas
1769d8988a ci - Linux uses ninja 2021-05-14 21:31:10 +02:00
Luis Diaz Mas
44eb56102b ci - Add coverage run on main branch 2021-05-13 23:04:51 +02:00
Luis Díaz Más
9e43a89d1d ci - Do not create conanCache dir 2021-05-12 16:10:04 +02:00
Luis Diaz Mas
ad57cb4293 ci - cache conan packages on Windows builds 2021-05-12 16:10:04 +02:00
Luis Diaz Mas
f969fe88fc Fedora-MinGW build to Github Workflows 2021-05-12 16:10:04 +02:00
Luis Díaz Más
5e13f30104 ci - Add BMFF to windows matrix 2021-05-12 16:10:04 +02:00
Luis Díaz Más
e6e6c3c296 ci - coverage build - deal with SHA issue 2021-05-12 16:10:04 +02:00
Luis Díaz Más
1a383c46f5 ci - Special builds on Github actions 2021-05-12 16:10:04 +02:00
Luis Díaz Más
776d3a3efc Rename github workflows 2021-05-12 16:10:04 +02:00
Luis Díaz Más
012f05f9a1 ci - MacOS Matrix 2021-05-12 16:10:04 +02:00
Luis Díaz Más
2c3fcd3a59 No exe in executables 2021-05-12 16:10:04 +02:00
Luis Díaz Más
0d0c8ba0f3 Fixes in github actions 2021-05-12 16:10:04 +02:00
Luis Díaz Más
33facf01aa Github Actions - More builds on PRs 2021-05-12 16:10:04 +02:00
Luis Díaz Más
bfa297d587 MacOS build 2021-05-12 16:10:04 +02:00
Luis Diaz Mas
72798028f6 Less CI jobs on push 2021-05-12 16:10:04 +02:00