CI/macos: enable warnings as errors for CMake builds

Closes https://github.com/curl/curl/pull/5716
This commit is contained in:
Marcel Raad 2020-07-19 11:50:43 +02:00
parent 13030d08ad
commit 05904db861
No known key found for this signature in database
GPG Key ID: 9D24FF0262C36959
1 changed files with 3 additions and 1 deletions

View File

@ -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