]> git.ipfire.org Git - thirdparty/zlib-ng.git/commitdiff
- Merge -O3 test into prefix test.
authorHans Kristian Rosbach <hk-git@circlestorm.org>
Thu, 22 Jan 2026 12:51:44 +0000 (13:51 +0100)
committerHans Kristian Rosbach <hk-github@circlestorm.org>
Thu, 22 Jan 2026 14:26:12 +0000 (15:26 +0100)
- Enable benchmarks in both prefix tests, to make sure they work with prefixes.

.github/workflows/cmake.yml

index 2120819308a382d4d55a9f2e3f969c53d50c695f..80661298bc82a3002beae41bb6956b9d15851363 100644 (file)
@@ -37,27 +37,21 @@ 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 -O3
             os: ubuntu-latest
             compiler: gcc
             cxx-compiler: g++
-            cmake-args: -DZLIB_SYMBOL_PREFIX=zTest_
-            codecov: ubuntu_gcc_sprefix
+            cmake-args: -DZLIB_SYMBOL_PREFIX=zTest_ -DWITH_BENCHMARKS=ON
+            cflags: -O3
+            # Skipping codecov to allow -O3
 
           - name: Ubuntu GCC Compat Symbol Prefix
             os: ubuntu-latest
             compiler: gcc
             cxx-compiler: g++
-            cmake-args: -DZLIB_COMPAT=ON -DZLIB_SYMBOL_PREFIX=zTest_
+            cmake-args: -DZLIB_COMPAT=ON -DZLIB_SYMBOL_PREFIX=zTest_ -DWITH_BENCHMARKS=ON
             codecov: ubuntu_gcc_compat_sprefix
 
-          - name: Ubuntu GCC -O3
-            os: ubuntu-latest
-            compiler: gcc
-            cxx-compiler: g++
-            cflags: -O3
-            # Skipping codecov to allow -O3
-
           - name: Ubuntu GCC -O1 UBSAN
             os: ubuntu-latest
             compiler: gcc