CMake: Test minizip in the workflows.
This commit is contained in:
parent
5163cb6d3b
commit
d3ab1df503
2 changed files with 3 additions and 3 deletions
4
.github/workflows/c-std.yml
vendored
4
.github/workflows/c-std.yml
vendored
|
@ -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 }}
|
||||
|
|
2
.github/workflows/cmake.yml
vendored
2
.github/workflows/cmake.yml
vendored
|
@ -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 }}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue