mirror of
https://github.com/moparisthebest/curl
synced 2024-08-13 17:03:50 -04: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++
|
CXX: clang++
|
||||||
- CC: gcc-8
|
- CC: gcc-8
|
||||||
CXX: g++-8
|
CXX: g++-8
|
||||||
|
CFLAGS: "-Wno-error=undef -Wno-error=conversion"
|
||||||
- CC: gcc-9
|
- CC: gcc-9
|
||||||
CXX: g++-9
|
CXX: g++-9
|
||||||
|
CFLAGS: "-Wno-error=undef -Wno-error=conversion"
|
||||||
build:
|
build:
|
||||||
- name: OpenSSL
|
- name: OpenSSL
|
||||||
install: nghttp2 openssl
|
install: nghttp2 openssl
|
||||||
@ -99,7 +101,7 @@ jobs:
|
|||||||
|
|
||||||
- uses: actions/checkout@v2
|
- 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'
|
name: 'cmake generate'
|
||||||
|
|
||||||
- run: cmake --build build
|
- run: cmake --build build
|
||||||
|
Loading…
Reference in New Issue
Block a user