]> git.ipfire.org Git - thirdparty/zlib-ng.git/commitdiff
Add -O0 and -DUSE_MMAP to tests. test-coverage 2091/head
authorHans Kristian Rosbach <hk-git@circlestorm.org>
Sat, 10 Jan 2026 14:46:10 +0000 (15:46 +0100)
committerHans Kristian Rosbach <hk-git@circlestorm.org>
Sat, 10 Jan 2026 20:37:20 +0000 (21:37 +0100)
Add a GCC REDUCED_MEM test as well.
(USE_MMAP is only used by minigzip)

.github/workflows/cmake.yml

index 3aa98b59f8a2e705f72782b201b56b4f64dea1da..02c66d7a855e3f1c8f8e41824d924468d7bc151b 100644 (file)
@@ -37,12 +37,13 @@ jobs:
             cmake-args: -DWITH_NATIVE_INSTRUCTIONS=ON -DNATIVE_ARCH_OVERRIDE="-mavx -mpclmul"
             codecov: ubuntu_gcc_native_inst_avx
 
-          - name: Ubuntu GCC Symbol Prefix
+          - name: Ubuntu GCC Symbol Prefix -O0
             os: ubuntu-latest
             compiler: gcc
             cxx-compiler: g++
             cmake-args: -DZLIB_SYMBOL_PREFIX=zTest_
             codecov: ubuntu_gcc_sprefix
+            cflags: -O0
 
           - name: Ubuntu GCC Compat Symbol Prefix
             os: ubuntu-latest
@@ -86,17 +87,18 @@ jobs:
             packages: gcc-multilib g++-multilib
             codecov: ubuntu_gcc_m32
 
-          - name: Ubuntu GCC C17
+          - name: Ubuntu GCC C17 MMAP
             os: ubuntu-latest
             compiler: gcc
             cxx-compiler: g++
             cmake-args: -DCMAKE_C_STANDARD=17
+            cflags: -DUSE_MMAP
 
-          - name: Ubuntu GCC C23
+          - name: Ubuntu GCC C23 Reduced memory
             os: ubuntu-latest
             compiler: gcc
             cxx-compiler: g++
-            cmake-args: -DCMAKE_C_STANDARD=23
+            cmake-args: -DCMAKE_C_STANDARD=23 -DWITH_REDUCED_MEM=ON
 
           - name: Ubuntu GCC No Chorba
             os: ubuntu-latest