1
0
mirror of https://github.com/madler/zlib synced 2025-03-28 21:13:15 +00:00

836 Commits

Author SHA1 Message Date
Vollstrecker
c99a4ae60f CMake: Depend on bzip2 only if it's found. 2025-01-31 20:01:41 -08:00
Vollstrecker
5a2ca3cb80 CMake: Add packaging to tests. 2025-01-31 20:01:41 -08:00
Vollstrecker
e573155946 CMake: Add CPack. 2025-01-31 20:01:41 -08:00
Vollstrecker
09b21ebd33 Correct one more comment style in minizip. 2025-01-31 20:01:41 -08:00
Vollstrecker
0263e58ad4 CMake: Prevent a 32-bit minizip build. 2025-01-31 20:01:41 -08:00
Vollstrecker
9d25fa340e Use consistent comment style in minizip. 2025-01-31 20:01:41 -08:00
Vollstrecker
e677f1f1c7 Disable make cover if no gcov was found. 2025-01-31 20:01:41 -08:00
Vollstrecker
039c3610e5 Remove -Werror from configure workflow. 2025-01-31 20:01:41 -08:00
Vollstrecker
2408dedfa5 Support clang without version suffix for coverage testing. 2025-01-31 20:01:41 -08:00
Vollstrecker
121e4168b9 CMake: Increase CMake version to 3.12 for minizip tests.
And look for ZLIB package.
2025-01-31 20:01:41 -08:00
Vollstrecker
44919160de Adjust coverage testing to the llvm gcov calling convention. 2025-01-31 19:59:10 -08:00
Vollstrecker
9ddf1b4bc5 CMake: Correct build directory for second workflow run. 2025-01-31 19:59:10 -08:00
Vollstrecker
a5db296ace CMake: Increase CMake version to 3.10 for tests.
And correct package name to ZLIB.
2025-01-31 19:59:10 -08:00
Vollstrecker
c9467bd5f8 Correct QEMU package name to qemu-system in workflow.
As in Ubuntu 24.04.
2025-01-31 19:59:10 -08:00
Vollstrecker
c7e9d282e7 CMake: Do just one build with -Werror in workflow. 2025-01-31 19:59:10 -08:00
Vollstrecker
1869359d44 CMake: Split the builds of infcover and minizip in workflow. 2025-01-31 19:59:10 -08:00
Vollstrecker
3b613563d3 CMake: Prefix coverage test name with zlib. 2025-01-31 19:59:10 -08:00
Vollstrecker
d80817ac95 CMake: Restore leading underscore in _LARGEFILE64_SOURCE. 2025-01-31 19:59:10 -08:00
Vollstrecker
0b9b43b45b Fix inflate coverage test in Makefile.in. 2025-01-31 19:59:10 -08:00
Vollstrecker
93457606bf CMake: Add inflate coverage test. 2025-01-31 19:59:10 -08:00
Vollstrecker
27198174ca CMake: Correct target to minizip. 2025-01-31 19:59:10 -08:00
Vollstrecker
d3ab1df503 CMake: Test minizip in the workflows. 2025-01-31 19:59:10 -08:00
Vollstrecker
5163cb6d3b CMake: Move testing into test/CMakeLists.txt.
Use the right environment to find the libraries.
2025-01-31 19:59:10 -08:00
Werner
99d41ee5c6 CMake: Make minizip search for config. 2025-01-31 19:59:10 -08:00
Werner
dfaf27b0c8 CMake: Change to FindZLIB and ZLIB.cmake. 2025-01-31 19:59:10 -08:00
Werner
5f98365bc9 CMake: Install ints.h for minizip. 2025-01-31 19:59:10 -08:00
Werner
aefb4b5b94 CMake: Rename exports of minizip.
minizip-ng has prior art.
2025-01-31 19:59:10 -08:00
Vollstrecker
5ff476ee43 CMake: Add minizip. 2025-01-31 19:59:10 -08:00
Vollstrecker
920385267f CMake: Fix parallel testing. 2025-01-31 19:59:10 -08:00
Vollstrecker
d7afcaa2be CMake: Shorten test names. 2025-01-31 19:59:10 -08:00
Vollstrecker
adb40de349 CMake: Indicate a clear signature in add_test. 2025-01-31 19:59:10 -08:00
Vollstrecker
cff14d5dc3 CMake: Use the full version number. 2025-01-31 19:59:10 -08:00
Vollstrecker
82665659ad CMake: Remove leading underscore from _LARGEFILE64_SOURCE. 2025-01-31 19:59:10 -08:00
Vollstrecker
a7c6dbf821 CMake: Detect visibility attribute in MSVC. 2025-01-31 19:59:10 -08:00
Vollstrecker
79d96ebdb7 CMake: Clear variable with unset. 2025-01-31 19:59:10 -08:00
Vollstrecker
b5c01971c2 CMake: Remove zconf.h.
zconf.h is always created by cmake and configure.
2025-01-31 19:59:10 -08:00
Vollstrecker
3d6dc3c3aa CMake: Create zconf.h from zconf.h.in.
Instead of zconf.h.cmakein, which is removed.
2025-01-31 19:59:10 -08:00
Vollstrecker
9e058e8443 CMake: Add option for ZLIB_PREFIX. 2025-01-31 19:59:10 -08:00
Vollstrecker
53c2727aaf CMake: Silence deprecation warning on the action runners. 2025-01-31 19:59:10 -08:00
Vollstrecker
15ba5055a9 CMake: Adapt pkgconfig-file to the GnuInstallDirs layout. 2025-01-31 19:59:10 -08:00
Vollstrecker
155d88378e CMake: Test static builds. 2025-01-31 19:59:10 -08:00
Vollstrecker
fd00a94838 CMake: Disable MinGW and Cygwin tests. 2025-01-31 19:59:10 -08:00
Vollstrecker
b74d77a0dd CMake: Install compatible DLL on MinGW. 2025-01-31 19:59:10 -08:00
Vollstrecker
e0b78cea4f CMake: Name the shared library cygz.dll on Cygwin. 2025-01-31 19:59:10 -08:00
Vollstrecker
494830e2df CMake: Remove use of ZLIB_BUILD_EXAMPLES option in workflow. 2025-01-31 19:59:10 -08:00
Vollstrecker
01ef679251 CMake: Pass CC and CFLAGS to the tests. 2025-01-31 19:59:10 -08:00
Vollstrecker
4d74e4498e CMake: Add the version to the exported configuration. 2025-01-31 19:59:10 -08:00
Vollstrecker
6084c550c3 CMake: Set the platform and configuration for the tests. 2025-01-31 19:59:10 -08:00
Vollstrecker
1fce5f2cdf CMake: Add more tests. 2025-01-31 19:59:10 -08:00
Vollstrecker
7dc2b78206 CMake: Add test for usage with find_package. 2025-01-31 19:59:10 -08:00