Commit Graph

142 Commits

Author SHA1 Message Date
Rosen Penev
a653043110 github CI: remove EXIV2_ENABLE_VIDEO
This is already default.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2023-02-26 08:58:48 -08:00
Rosen Penev
ae1381ede3 github CI: use env
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2023-02-26 08:58:48 -08:00
Rosen Penev
2a23a43bc2 meson CI: add /analyze for MSVC
Useful in CI.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2023-02-26 08:58:48 -08:00
Rosen Penev
c5a5375527 meson CI: build for 32-bit Windows too
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2023-02-26 08:58:48 -08:00
Rosen Penev
9378aa9fa1 meson CI: add GCC10 too
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2023-02-26 08:58:48 -08:00
Rosen Penev
7e2b49161b meson CI: add more clang versions
More coverage is good.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2023-02-26 08:58:48 -08:00
Rosen Penev
b6b7d98f61 meson CI: add lld to clang
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2023-02-26 08:58:48 -08:00
Rosen Penev
daec6cead4 meson CI: use env section
Avoids having to use env.exe

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2023-02-26 08:58:48 -08:00
Rosen Penev
d616dffe48 github CI: remove no warning options
The deprecated gtest stuff was fixed.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2023-02-26 08:58:48 -08:00
Rosen Penev
79bf4d0b1e github CI: use python -m pip
Calling pip directly is deprecated.

Also switched to pip version of ninja. It installs faster and is newer.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2023-02-22 11:25:04 -08:00
Rosen Penev
c80b411756 github CI: install regular conan
Needed for actions/cache update

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2023-02-22 11:25:04 -08:00
dependabot[bot]
d0ab01dbae Bump actions/cache from 2 to 3
Bumps [actions/cache](https://github.com/actions/cache) from 2 to 3.
- [Release notes](https://github.com/actions/cache/releases)
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
- [Commits](https://github.com/actions/cache/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/cache
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-22 11:25:04 -08:00
dependabot[bot]
bb1d735a33 Bump actions/setup-python from 3 to 4
Bumps [actions/setup-python](https://github.com/actions/setup-python) from 3 to 4.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](https://github.com/actions/setup-python/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/setup-python
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-22 08:30:40 -08:00
dependabot[bot]
64a0835f0c Bump DoozyX/clang-format-lint-action from 0.14 to 0.15
Bumps [DoozyX/clang-format-lint-action](https://github.com/DoozyX/clang-format-lint-action) from 0.14 to 0.15.
- [Release notes](https://github.com/DoozyX/clang-format-lint-action/releases)
- [Commits](https://github.com/DoozyX/clang-format-lint-action/compare/v0.14...v0.15)

---
updated-dependencies:
- dependency-name: DoozyX/clang-format-lint-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-22 08:27:08 -08:00
Rosen Penev
bfe76bfc94 meson CI: build as C++20
More warnings maybe.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2023-02-14 02:19:20 -08:00
Rosen Penev
c5c8a6101e meson: move warning/sanitizer stuff to CI
No need when building normally.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2023-02-14 02:19:20 -08:00
Rosen Penev
52ab999151 meson: add unit tests
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2023-02-13 09:37:30 -08:00
Rosen Penev
c94d0aae12 github CI: install gtest with brew
No need for custom build.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2023-02-13 09:30:39 -08:00
Rosen Penev
61950c3cf9 meson CI: add special clang and libc++ CI
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2023-02-11 10:44:20 -08:00
Rosen Penev
6a9af02b70 meson CI: add library type to name
A rebasing error got rid of this.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2023-02-11 10:44:20 -08:00
Rosen Penev
602e230337 meson CI: build with verbose
Useful for CI.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2023-02-11 10:44:20 -08:00
Rosen Penev
84c3c4758a meson CI: test static library as well
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2023-02-08 23:10:55 -08:00
Rosen Penev
6f72bf7973 meson: g++-[789] build
Test them as they are still supported.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2023-02-06 23:17:27 -08:00
Rosen Penev
8d3e0d6e73 add basic meson CI 2023-02-06 13:44:57 -08:00
Miloš Komarčević
fe327e136b CI: inih now available for Cygwin 2023-01-18 15:27:02 +01:00
Kevin Backhouse
072c3ba31a
Add inih dependency 2023-01-06 12:16:00 +00:00
Mohamed Ali Chebbi
1c764358bb
Encapsulate video support with compilation variable EXV_ENABLE_VIDEO (#2448)
* Encapsulate video support with compilation variable EXV_ENABLE_VIDEO

* Encapsulate video support with compilation variable EXV_ENABLE_VIDEO: add variable to unit test files

* Encapsulate video support with compilation variable EXV_ENABLE_VIDEO: encapsulate in makefile

* Encapsulate video support with compilation variable EXV_ENABLE_VIDEO: fix PR windows matrix

* Encapsulate video support with compilation variable EXV_ENABLE_VIDEO: activate only for concerned CI tests

* Encapsulate video support with compilation variable EXV_ENABLE_VIDEO: desable for linux release

* Encapsulate video support with compilation variable EXV_ENABLE_VIDEO: add to Fuzz PR
2023-01-04 13:01:34 +01:00
Kevin Backhouse
cccf265eab
Update .github/workflows/on_PR_windows_matrix.yml 2022-12-28 10:44:36 -05:00
Kevin Backhouse
a4164ce866
Remove libinih from codebase and add it as a dependency instead. 2022-12-28 09:33:08 -06:00
Luis Díaz Más
13ecfbc233
Update ubuntu-latest tag to ubuntu-22.04 (#2439)
* Update ubuntu-latest tag to ubuntu-22.04

Everytime a CI service such a GitHub actions update the images
corresponding to their 'latest' tags, pipelines tend to have some
hipcups due to changes in the distribution default packages.

By fixing the images to a specific one, we should be more resilient to
changes in the Github actions environment.

* Use same build directory used in CMake presets
2022-12-23 08:36:47 +01:00
codesee-maps[bot]
519b56e050
Install the CodeSee workflow. Learn more at https://docs.codesee.io 2022-12-19 09:52:02 +00:00
Luis Diaz Mas
773265b6dc Replace cygwin github action 2022-11-30 18:46:50 +01:00
Luis Diaz Mas
665e1cfb5c Enable Workflow dispatch on Windows CI jobs 2022-11-29 21:53:55 +01:00
Miloš Komarčević
74e41d982d CI: bump clang-format actions 2022-11-09 16:44:47 +01:00
Miloš Komarčević
66b009a57b CI: bump conan version 2022-11-09 16:23:57 +01:00
Miloš Komarčević
4915a6ba8c CI: improved in-progress job canceling 2022-11-09 16:17:38 +01:00
Miloš Komarčević
23cdcc48d7 Install deps for and bump CodeQL action 2022-10-24 12:32:52 +02:00
Miloš Komarčević
9a6ee59421 Support brotli compressed boxes in JPEG XL 2022-10-24 12:32:51 +02:00
Kevin Backhouse
e97dc16738
Bump conan version to 1.52.0 2022-09-18 22:45:21 +01:00
Luis Diaz Mas
dea611c2a0 ci: Upgrade conan to version 1.51.0 2022-08-08 07:22:32 +02:00
Miloš Komarčević
8001807f4d CI: cancel running jobs on updates 2022-07-26 23:14:05 -07:00
Christoph Hasse
fc0e0506a1 fix(ci) adapt to breaking changes of upgrading github-script [ci skip] 2022-07-05 18:49:28 +02:00
Christoph Hasse
a0ab146e3b fix(ci) disable webready and curl for release builds [ci skip] 2022-07-05 14:47:36 +02:00
Luis Díaz Más
bf7a33c1fe Fix special builds for main 2022-05-19 18:05:43 +02:00
Luis Diaz
0309cb01cb ci: update conan version in all jobs 2022-05-19 16:30:43 +02:00
Luis Diaz
e1ed1df0d7 Definition of new CMake presets & usage in CI jobs
Additional interesting changes in this commit:
- conan: use cmake-conan for better CMake-Conan integration
- cmake+doc: Remove deprecated EXIV2_ENABLE_WIN_UNICODE
- Ignore CMakeUserPresets.json
- doc: Add notes about the usage of CMake presets
2022-05-19 14:52:58 +02:00
Luis Díaz Más
f3f6ffb855 ci: move pvsStudio job to its own workflow & use new flag
The license will expire in approximately 1 month. I disabled the
expiration check.
2022-04-14 17:49:37 +02:00
Luis Diaz
bd0eefdab7 ci: Try to fix job which is killed due to low memory? 2022-04-07 07:41:55 +02:00
Luis Díaz Más
0e523b6a29 ci: Use interprocedural optimization (LTO) in releases 2022-04-01 17:13:10 +02:00
Luis Díaz Más
c0c9155af3 ci: split command in several lines 2022-04-01 17:04:31 +02:00