From d3ab1df503abffbc2480d10c110e955bad803e0a Mon Sep 17 00:00:00 2001 From: Vollstrecker Date: Tue, 24 Dec 2024 21:42:47 +0100 Subject: CMake: Test minizip in the workflows. --- .github/workflows/c-std.yml | 4 ++-- .github/workflows/cmake.yml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to '.github') diff --git a/.github/workflows/c-std.yml b/.github/workflows/c-std.yml index 8377db4..64a1c86 100644 --- a/.github/workflows/c-std.yml +++ b/.github/workflows/c-std.yml @@ -133,7 +133,7 @@ jobs: - name: Generate project files (cmake) if: matrix.builder == 'cmake' run: | - cmake -S . -B . -D CMAKE_BUILD_TYPE=Release ${{ matrix.os.cmake-opt }} + cmake -S . -B . -D CMAKE_BUILD_TYPE=Release ${{ matrix.os.cmake-opt }} -DZLIB_BUILD_MINIZIP=ON env: CC: ${{ matrix.compiler }} CFLAGS: -std=${{ matrix.std.value }} ${{ matrix.arch.compiler-opt }} -Werror -Wall -Wextra @@ -196,7 +196,7 @@ jobs: - name: Generate project files (cmake) run: | - cmake -S . -B . ${{ matrix.arch.value }} -D CMAKE_BUILD_TYPE=Release + cmake -S . -B . ${{ matrix.arch.value }} -D CMAKE_BUILD_TYPE=Release -DZLIB_BUILD_MINIZIP=ON env: CC: ${{ matrix.compiler }} CFLAGS: /WX ${{ matrix.std.value }} diff --git a/.github/workflows/cmake.yml b/.github/workflows/cmake.yml index 36fb249..a157124 100644 --- a/.github/workflows/cmake.yml +++ b/.github/workflows/cmake.yml @@ -75,7 +75,7 @@ jobs: choco install --no-progress ninja ${{ matrix.packages }} - name: Generate project files - run: cmake -S ${{ matrix.src-dir || '.' }} -B ${{ matrix.build-dir || '.' }} ${{ matrix.cmake-args }} -D CMAKE_BUILD_TYPE=${{ matrix.build-config || 'Release' }} + run: cmake -S ${{ matrix.src-dir || '.' }} -B ${{ matrix.build-dir || '.' }} ${{ matrix.cmake-args }} -D CMAKE_BUILD_TYPE=${{ matrix.build-config || 'Release' }} -DZLIB_BUILD_MINIZIP=ON env: CC: ${{ matrix.compiler }} CFLAGS: ${{ matrix.cflags }} -- cgit v1.2.3-55-g6feb