diff options
author | Vollstrecker <werner@vollstreckernet.de> | 2024-12-05 11:39:40 +0100 |
---|---|---|
committer | Mark Adler <madler@alumni.caltech.edu> | 2025-01-31 19:59:10 -0800 |
commit | 494830e2dfcff18f014abc2b289d6b83ddc8c222 (patch) | |
tree | 15ef69676de99268dbfe370ef0d6dd73c8d7a60f | |
parent | 01ef679251f7045f20fa45d7f0b1b662c5d91682 (diff) | |
download | zlib-494830e2dfcff18f014abc2b289d6b83ddc8c222.tar.gz zlib-494830e2dfcff18f014abc2b289d6b83ddc8c222.tar.bz2 zlib-494830e2dfcff18f014abc2b289d6b83ddc8c222.zip |
CMake: Remove use of ZLIB_BUILD_EXAMPLES option in workflow.
-rw-r--r-- | .github/workflows/c-std.yml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/.github/workflows/c-std.yml b/.github/workflows/c-std.yml index 44417bf..8377db4 100644 --- a/.github/workflows/c-std.yml +++ b/.github/workflows/c-std.yml | |||
@@ -133,7 +133,7 @@ jobs: | |||
133 | - name: Generate project files (cmake) | 133 | - name: Generate project files (cmake) |
134 | if: matrix.builder == 'cmake' | 134 | if: matrix.builder == 'cmake' |
135 | run: | | 135 | run: | |
136 | cmake -S . -B . -D CMAKE_BUILD_TYPE=Release -D ZLIB_BUILD_EXAMPLES=OFF ${{ matrix.os.cmake-opt }} | 136 | cmake -S . -B . -D CMAKE_BUILD_TYPE=Release ${{ matrix.os.cmake-opt }} |
137 | env: | 137 | env: |
138 | CC: ${{ matrix.compiler }} | 138 | CC: ${{ matrix.compiler }} |
139 | CFLAGS: -std=${{ matrix.std.value }} ${{ matrix.arch.compiler-opt }} -Werror -Wall -Wextra | 139 | CFLAGS: -std=${{ matrix.std.value }} ${{ matrix.arch.compiler-opt }} -Werror -Wall -Wextra |
@@ -205,4 +205,4 @@ jobs: | |||
205 | run: cmake --build . --config Release -v | 205 | run: cmake --build . --config Release -v |
206 | 206 | ||
207 | - name: Run test cases (cmake) | 207 | - name: Run test cases (cmake) |
208 | run: ctest -C Release --output-on-failure --max-width 120 \ No newline at end of file | 208 | run: ctest -C Release --output-on-failure --max-width 120 |