summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorMarcel Raad <Marcel.Raad@teamviewer.com>2020-07-15 10:03:15 +0200
committerMarcel Raad <Marcel.Raad@teamviewer.com>2020-07-26 16:31:33 +0200
commit730dc48253e0283cebfe31b29eb7dbec6c7d3d5d (patch)
treef5d9b1df5ea3e9d8be3fc871f33b1aa3bcb540f9 /.github
parent67ca8e226006dc014bdf14e523675865aa7fce01 (diff)
downloadcurl-730dc48253e0283cebfe31b29eb7dbec6c7d3d5d.tar.gz
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
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/macos.yml20
1 files changed, 17 insertions, 3 deletions
diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml
index 3092d4bc1..c4230e480 100644
--- a/.github/workflows/macos.yml
+++ b/.github/workflows/macos.yml
@@ -21,31 +21,44 @@ jobs:
build:
- name: normal
install: nghttp2
+ macosx-version-min: 10.9
- name: debug
install: nghttp2
configure: --enable-debug --enable-mqtt
+ macosx-version-min: 10.9
- name: libssh2
install: nghttp2 libssh2
configure: --enable-debug --with-libssh2
+ macosx-version-min: 10.9
- name: c-ares
install: nghttp2
configure: --enable-debug --enable-ares
+ macosx-version-min: 10.9
- name: HTTP only
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
+ macosx-version-min: 10.15
- name: SecureTransport metalink
install: nghttp2 openssl libmetalink
configure: --enable-debug --without-ssl --with-darwinssl --with-libmetalink
+ macosx-version-min: 10.8
- name: OpenSSL metalink
install: nghttp2 openssl libmetalink
configure: --enable-debug --with-ssl=/usr/local/opt/openssl --with-libmetalink
+ macosx-version-min: 10.9
- name: LibreSSL metalink
install: nghttp2 libressl libmetalink
configure: --enable-debug --with-ssl=/usr/local/opt/libressl --with-libmetalink
+ macosx-version-min: 10.9
- name: torture
install: nghttp2 openssl
configure: --enable-debug --disable-shared --disable-threaded-resolver --enable-alt-svc
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:
- run: echo libtool autoconf automake pkg-config ${{ matrix.build.install }} | xargs -Ix -n1 echo brew '"x"' > /tmp/Brewfile
name: 'brew bundle'
@@ -59,7 +72,7 @@ jobs:
name: 'configure'
env:
# -Wvla is caused by brotli
- CFLAGS: -Wno-vla
+ CFLAGS: "-Wno-vla -mmacosx-version-min=${{ matrix.build.macosx-version-min }}"
- run: make
name: 'make'
@@ -79,12 +92,13 @@ jobs:
compiler:
- CC: clang
CXX: clang++
+ CFLAGS: "-mmacosx-version-min=10.15"
- CC: gcc-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
CXX: g++-9
- CFLAGS: "-Wno-error=undef -Wno-error=conversion"
+ CFLAGS: "-mmacosx-version-min=10.15 -Wno-error=undef -Wno-error=conversion"
build:
- name: OpenSSL
install: nghttp2 openssl