diff options
author | Marcel Raad <Marcel.Raad@teamviewer.com> | 2020-07-19 11:50:43 +0200 |
---|---|---|
committer | Marcel Raad <Marcel.Raad@teamviewer.com> | 2020-07-25 08:51:11 +0200 |
commit | 05904db8615e94a5b61809a1afe3e22cdbd50f43 (patch) | |
tree | fc2fcbe5a1276607387cdfb41dfd67a38a849a5c /.github | |
parent | 13030d08ad392e3a6c139400f0dfa827f1e9f2a8 (diff) | |
download | curl-05904db8615e94a5b61809a1afe3e22cdbd50f43.tar.gz |
CI/macos: enable warnings as errors for CMake builds
Closes https://github.com/curl/curl/pull/5716
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/macos.yml | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml index 4a84b2557..3092d4bc1 100644 --- a/.github/workflows/macos.yml +++ b/.github/workflows/macos.yml @@ -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 |