CMake: Remove use of ZLIB_BUILD_EXAMPLES option in workflow.

pull/1039/head
Vollstrecker 3 months ago committed by Mark Adler
parent 01ef679251
commit 494830e2df
  1. 4
      .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 -D ZLIB_BUILD_EXAMPLES=OFF ${{ matrix.os.cmake-opt }}
cmake -S . -B . -D CMAKE_BUILD_TYPE=Release ${{ matrix.os.cmake-opt }}
env:
CC: ${{ matrix.compiler }}
CFLAGS: -std=${{ matrix.std.value }} ${{ matrix.arch.compiler-opt }} -Werror -Wall -Wextra
@ -205,4 +205,4 @@ jobs:
run: cmake --build . --config Release -v
- name: Run test cases (cmake)
run: ctest -C Release --output-on-failure --max-width 120
run: ctest -C Release --output-on-failure --max-width 120

Loading…
Cancel
Save