mirror of
https://github.com/moparisthebest/curl
synced 2025-01-11 05:58:01 -05:00
CI/macos: enable warnings as errors for CMake builds
Closes https://github.com/curl/curl/pull/5716
This commit is contained in:
parent
13030d08ad
commit
05904db861
4
.github/workflows/macos.yml
vendored
4
.github/workflows/macos.yml
vendored
@ -81,8 +81,10 @@ jobs:
|
||||
CXX: clang++
|
||||
- CC: gcc-8
|
||||
CXX: g++-8
|
||||
CFLAGS: "-Wno-error=undef -Wno-error=conversion"
|
||||
- CC: gcc-9
|
||||
CXX: g++-9
|
||||
CFLAGS: "-Wno-error=undef -Wno-error=conversion"
|
||||
build:
|
||||
- name: OpenSSL
|
||||
install: nghttp2 openssl
|
||||
@ -99,7 +101,7 @@ jobs:
|
||||
|
||||
- uses: actions/checkout@v2
|
||||
|
||||
- run: cmake -H. -Bbuild ${{ matrix.build.generate }}
|
||||
- run: cmake -H. -Bbuild -DCURL_WERROR=ON -DPICKY_COMPILER=ON ${{ matrix.build.generate }}
|
||||
name: 'cmake generate'
|
||||
|
||||
- run: cmake --build build
|
||||
|
Loading…
Reference in New Issue
Block a user