mirror of
https://github.com/moparisthebest/curl
synced 2025-01-10 21:48:10 -05:00
CI/macos: set minimum macOS version
This enables some deprecation warnings. Previously, autotools defaulted to 10.8. Closes https://github.com/curl/curl/pull/5723
This commit is contained in:
parent
67ca8e2260
commit
730dc48253
20
.github/workflows/macos.yml
vendored
20
.github/workflows/macos.yml
vendored
@ -21,31 +21,44 @@ jobs:
|
|||||||
build:
|
build:
|
||||||
- name: normal
|
- name: normal
|
||||||
install: nghttp2
|
install: nghttp2
|
||||||
|
macosx-version-min: 10.9
|
||||||
- name: debug
|
- name: debug
|
||||||
install: nghttp2
|
install: nghttp2
|
||||||
configure: --enable-debug --enable-mqtt
|
configure: --enable-debug --enable-mqtt
|
||||||
|
macosx-version-min: 10.9
|
||||||
- name: libssh2
|
- name: libssh2
|
||||||
install: nghttp2 libssh2
|
install: nghttp2 libssh2
|
||||||
configure: --enable-debug --with-libssh2
|
configure: --enable-debug --with-libssh2
|
||||||
|
macosx-version-min: 10.9
|
||||||
- name: c-ares
|
- name: c-ares
|
||||||
install: nghttp2
|
install: nghttp2
|
||||||
configure: --enable-debug --enable-ares
|
configure: --enable-debug --enable-ares
|
||||||
|
macosx-version-min: 10.9
|
||||||
- name: HTTP only
|
- name: HTTP only
|
||||||
install: nghttp2
|
install: nghttp2
|
||||||
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
|
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
|
||||||
|
macosx-version-min: 10.15
|
||||||
- name: SecureTransport metalink
|
- name: SecureTransport metalink
|
||||||
install: nghttp2 openssl libmetalink
|
install: nghttp2 openssl libmetalink
|
||||||
configure: --enable-debug --without-ssl --with-darwinssl --with-libmetalink
|
configure: --enable-debug --without-ssl --with-darwinssl --with-libmetalink
|
||||||
|
macosx-version-min: 10.8
|
||||||
- name: OpenSSL metalink
|
- name: OpenSSL metalink
|
||||||
install: nghttp2 openssl libmetalink
|
install: nghttp2 openssl libmetalink
|
||||||
configure: --enable-debug --with-ssl=/usr/local/opt/openssl --with-libmetalink
|
configure: --enable-debug --with-ssl=/usr/local/opt/openssl --with-libmetalink
|
||||||
|
macosx-version-min: 10.9
|
||||||
- name: LibreSSL metalink
|
- name: LibreSSL metalink
|
||||||
install: nghttp2 libressl libmetalink
|
install: nghttp2 libressl libmetalink
|
||||||
configure: --enable-debug --with-ssl=/usr/local/opt/libressl --with-libmetalink
|
configure: --enable-debug --with-ssl=/usr/local/opt/libressl --with-libmetalink
|
||||||
|
macosx-version-min: 10.9
|
||||||
- name: torture
|
- name: torture
|
||||||
install: nghttp2 openssl
|
install: nghttp2 openssl
|
||||||
configure: --enable-debug --disable-shared --disable-threaded-resolver --enable-alt-svc
|
configure: --enable-debug --disable-shared --disable-threaded-resolver --enable-alt-svc
|
||||||
tflags: -n -t --shallow=25 !FTP
|
tflags: -n -t --shallow=25 !FTP
|
||||||
|
macosx-version-min: 10.9
|
||||||
|
- name: macOS 10.15
|
||||||
|
install: nghttp2 libmetalink libssh2
|
||||||
|
configure: --enable-debug --disable-ldap
|
||||||
|
macosx-version-min: 10.15
|
||||||
steps:
|
steps:
|
||||||
- run: echo libtool autoconf automake pkg-config ${{ matrix.build.install }} | xargs -Ix -n1 echo brew '"x"' > /tmp/Brewfile
|
- run: echo libtool autoconf automake pkg-config ${{ matrix.build.install }} | xargs -Ix -n1 echo brew '"x"' > /tmp/Brewfile
|
||||||
name: 'brew bundle'
|
name: 'brew bundle'
|
||||||
@ -59,7 +72,7 @@ jobs:
|
|||||||
name: 'configure'
|
name: 'configure'
|
||||||
env:
|
env:
|
||||||
# -Wvla is caused by brotli
|
# -Wvla is caused by brotli
|
||||||
CFLAGS: -Wno-vla
|
CFLAGS: "-Wno-vla -mmacosx-version-min=${{ matrix.build.macosx-version-min }}"
|
||||||
|
|
||||||
- run: make
|
- run: make
|
||||||
name: 'make'
|
name: 'make'
|
||||||
@ -79,12 +92,13 @@ jobs:
|
|||||||
compiler:
|
compiler:
|
||||||
- CC: clang
|
- CC: clang
|
||||||
CXX: clang++
|
CXX: clang++
|
||||||
|
CFLAGS: "-mmacosx-version-min=10.15"
|
||||||
- CC: gcc-8
|
- CC: gcc-8
|
||||||
CXX: g++-8
|
CXX: g++-8
|
||||||
CFLAGS: "-Wno-error=undef -Wno-error=conversion"
|
CFLAGS: "-mmacosx-version-min=10.15 -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"
|
CFLAGS: "-mmacosx-version-min=10.15 -Wno-error=undef -Wno-error=conversion"
|
||||||
build:
|
build:
|
||||||
- name: OpenSSL
|
- name: OpenSSL
|
||||||
install: nghttp2 openssl
|
install: nghttp2 openssl
|
||||||
|
Loading…
Reference in New Issue
Block a user