CMake: Do just one build with -Werror in workflow.

pull/1039/head
Vollstrecker 2 months ago committed by Mark Adler
parent 1869359d44
commit c7e9d282e7
  1. 20
      .github/workflows/cmake.yml

@ -11,59 +11,59 @@ jobs:
- name: Ubuntu GCC
os: ubuntu-latest
compiler: gcc
cflags: -Werror -Wall -Wextra
cflags: -Wall -Wextra
# Test out of source builds
- name: Ubuntu GCC OSB
os: ubuntu-latest
compiler: gcc
cflags: -Werror -Wall -Wextra
cflags: -Wall -Wextra
build-dir: ../build
src-dir: ../zlib
- name: Ubuntu GCC -O3
os: ubuntu-latest
compiler: gcc
cflags: -O3 -Werror -Wall -Wextra
cflags: -O3 -Wall -Wextra
- name: Ubuntu Clang
os: ubuntu-latest
compiler: clang
cflags: -Werror -Wall -Wextra
cflags: -Wall -Wextra
- name: Ubuntu Clang Debug
os: ubuntu-latest
compiler: clang
cflags: -Werror -Wall -Wextra
cflags: -Wall -Wextra
build-config: Debug
- name: Windows MSVC Win32
os: windows-latest
compiler: cl
cflags: /WX /W3
cflags: /W3
cmake-args: -A Win32
- name: Windows MSVC Win64
os: windows-latest
compiler: cl
cflags: /WX /W3
cflags: /W3
cmake-args: -A x64
- name: Windows GCC
os: windows-latest
compiler: gcc
cflags: -Werror -Wall -Wextra
cflags: -Wall -Wextra
cmake-args: -G Ninja
- name: macOS Clang
os: macos-latest
compiler: clang
cflags: -Werror -Wall -Wextra
cflags: -Wall -Wextra
- name: macOS GCC
os: macos-latest
compiler: gcc-12
cflags: -Werror -Wall -Wextra
cflags: -Wall -Wextra
steps:
- name: Checkout repository

Loading…
Cancel
Save