diff options
| author | Vollstrecker <werner@vollstreckernet.de> | 2024-12-25 09:55:27 +0100 |
|---|---|---|
| committer | Mark Adler <madler@alumni.caltech.edu> | 2025-01-31 19:59:10 -0800 |
| commit | c7e9d282e7a92e881bf26972c7c167428dabf453 (patch) | |
| tree | df3044895580f9c1187f88fc0fcae1f156ea878e | |
| parent | 1869359d44f61df55dea4893a0a7495189ac3749 (diff) | |
| download | zlib-c7e9d282e7a92e881bf26972c7c167428dabf453.tar.gz zlib-c7e9d282e7a92e881bf26972c7c167428dabf453.tar.bz2 zlib-c7e9d282e7a92e881bf26972c7c167428dabf453.zip | |
CMake: Do just one build with -Werror in workflow.
| -rw-r--r-- | .github/workflows/cmake.yml | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/.github/workflows/cmake.yml b/.github/workflows/cmake.yml index a157124..d8f97f8 100644 --- a/.github/workflows/cmake.yml +++ b/.github/workflows/cmake.yml | |||
| @@ -11,59 +11,59 @@ jobs: | |||
| 11 | - name: Ubuntu GCC | 11 | - name: Ubuntu GCC |
| 12 | os: ubuntu-latest | 12 | os: ubuntu-latest |
| 13 | compiler: gcc | 13 | compiler: gcc |
| 14 | cflags: -Werror -Wall -Wextra | 14 | cflags: -Wall -Wextra |
| 15 | 15 | ||
| 16 | # Test out of source builds | 16 | # Test out of source builds |
| 17 | - name: Ubuntu GCC OSB | 17 | - name: Ubuntu GCC OSB |
| 18 | os: ubuntu-latest | 18 | os: ubuntu-latest |
| 19 | compiler: gcc | 19 | compiler: gcc |
| 20 | cflags: -Werror -Wall -Wextra | 20 | cflags: -Wall -Wextra |
| 21 | build-dir: ../build | 21 | build-dir: ../build |
| 22 | src-dir: ../zlib | 22 | src-dir: ../zlib |
| 23 | 23 | ||
| 24 | - name: Ubuntu GCC -O3 | 24 | - name: Ubuntu GCC -O3 |
| 25 | os: ubuntu-latest | 25 | os: ubuntu-latest |
| 26 | compiler: gcc | 26 | compiler: gcc |
| 27 | cflags: -O3 -Werror -Wall -Wextra | 27 | cflags: -O3 -Wall -Wextra |
| 28 | 28 | ||
| 29 | - name: Ubuntu Clang | 29 | - name: Ubuntu Clang |
| 30 | os: ubuntu-latest | 30 | os: ubuntu-latest |
| 31 | compiler: clang | 31 | compiler: clang |
| 32 | cflags: -Werror -Wall -Wextra | 32 | cflags: -Wall -Wextra |
| 33 | 33 | ||
| 34 | - name: Ubuntu Clang Debug | 34 | - name: Ubuntu Clang Debug |
| 35 | os: ubuntu-latest | 35 | os: ubuntu-latest |
| 36 | compiler: clang | 36 | compiler: clang |
| 37 | cflags: -Werror -Wall -Wextra | 37 | cflags: -Wall -Wextra |
| 38 | build-config: Debug | 38 | build-config: Debug |
| 39 | 39 | ||
| 40 | - name: Windows MSVC Win32 | 40 | - name: Windows MSVC Win32 |
| 41 | os: windows-latest | 41 | os: windows-latest |
| 42 | compiler: cl | 42 | compiler: cl |
| 43 | cflags: /WX /W3 | 43 | cflags: /W3 |
| 44 | cmake-args: -A Win32 | 44 | cmake-args: -A Win32 |
| 45 | 45 | ||
| 46 | - name: Windows MSVC Win64 | 46 | - name: Windows MSVC Win64 |
| 47 | os: windows-latest | 47 | os: windows-latest |
| 48 | compiler: cl | 48 | compiler: cl |
| 49 | cflags: /WX /W3 | 49 | cflags: /W3 |
| 50 | cmake-args: -A x64 | 50 | cmake-args: -A x64 |
| 51 | 51 | ||
| 52 | - name: Windows GCC | 52 | - name: Windows GCC |
| 53 | os: windows-latest | 53 | os: windows-latest |
| 54 | compiler: gcc | 54 | compiler: gcc |
| 55 | cflags: -Werror -Wall -Wextra | 55 | cflags: -Wall -Wextra |
| 56 | cmake-args: -G Ninja | 56 | cmake-args: -G Ninja |
| 57 | 57 | ||
| 58 | - name: macOS Clang | 58 | - name: macOS Clang |
| 59 | os: macos-latest | 59 | os: macos-latest |
| 60 | compiler: clang | 60 | compiler: clang |
| 61 | cflags: -Werror -Wall -Wextra | 61 | cflags: -Wall -Wextra |
| 62 | 62 | ||
| 63 | - name: macOS GCC | 63 | - name: macOS GCC |
| 64 | os: macos-latest | 64 | os: macos-latest |
| 65 | compiler: gcc-12 | 65 | compiler: gcc-12 |
| 66 | cflags: -Werror -Wall -Wextra | 66 | cflags: -Wall -Wextra |
| 67 | 67 | ||
| 68 | steps: | 68 | steps: |
| 69 | - name: Checkout repository | 69 | - name: Checkout repository |
