summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcel Raad <Marcel.Raad@teamviewer.com>2020-07-15 10:48:44 +0200
committerMarcel Raad <Marcel.Raad@teamviewer.com>2020-07-19 10:35:19 +0200
commitff8b6ce05fa9587372faed171fb293821ee99ba6 (patch)
tree6416a00751a80124fc0f799ac5595a0cf05add3d
parentc90e48c005c59a95c1e58e95c1bd9fbcc70c3b06 (diff)
downloadcurl-ff8b6ce05fa9587372faed171fb293821ee99ba6.tar.gz
CI/macos: unconditionally enable warnings-as-errors with autotools
Previously, warnings were only visible in the output for most jobs. Closes https://github.com/curl/curl/pull/5694
-rw-r--r--.github/workflows/macos.yml9
1 files changed, 6 insertions, 3 deletions
diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml
index ebbdeca96..4a84b2557 100644
--- a/.github/workflows/macos.yml
+++ b/.github/workflows/macos.yml
@@ -23,7 +23,7 @@ jobs:
install: nghttp2
- name: debug
install: nghttp2
- configure: --enable-debug --enable-werror --without-brotli --enable-mqtt
+ configure: --enable-debug --enable-mqtt
- name: libssh2
install: nghttp2 libssh2
configure: --enable-debug --with-libssh2
@@ -32,7 +32,7 @@ jobs:
configure: --enable-debug --enable-ares
- name: HTTP only
install: nghttp2
- configure: --enable-debug --enable-werror --enable-maintainer-mode --disable-dict --disable-file --disable-ftp --disable-gopher --disable-imap --disable-ldap --disable-pop3 --disable-rtmp --disable-rtsp --disable-scp --disable-sftp --disable-smb --disable-smtp --disable-telnet --disable-tftp --disable-unix-sockets --disable-shared --without-brotli --without-gssapi --without-libidn2 --without-libmetalink --without-libpsl --without-librtmp --without-libssh2 --without-nghttp2 --without-ntlm-auth --without-ssl --without-zlib
+ configure: --enable-debug --enable-maintainer-mode --disable-dict --disable-file --disable-ftp --disable-gopher --disable-imap --disable-ldap --disable-pop3 --disable-rtmp --disable-rtsp --disable-scp --disable-sftp --disable-smb --disable-smtp --disable-telnet --disable-tftp --disable-unix-sockets --disable-shared --without-brotli --without-gssapi --without-libidn2 --without-libmetalink --without-libpsl --without-librtmp --without-libssh2 --without-nghttp2 --without-ntlm-auth --without-ssl --without-zlib
- name: SecureTransport metalink
install: nghttp2 openssl libmetalink
configure: --enable-debug --without-ssl --with-darwinssl --with-libmetalink
@@ -55,8 +55,11 @@ jobs:
- uses: actions/checkout@v2
- - run: ./buildconf && ./configure ${{ matrix.build.configure }}
+ - run: ./buildconf && ./configure --enable-warnings --enable-werror ${{ matrix.build.configure }}
name: 'configure'
+ env:
+ # -Wvla is caused by brotli
+ CFLAGS: -Wno-vla
- run: make
name: 'make'