diff options
author | Philip H <47042125+pheiduck@users.noreply.github.com> | 2022-10-09 22:41:21 +0200 |
---|---|---|
committer | Marc Hoersken <info@marc-hoersken.de> | 2022-10-15 21:40:19 +0200 |
commit | 1de60b18de9db237a5e1f0efca6103b6cb6165cc (patch) | |
tree | 4a2f1c344f65bf647af83c2b6547e5865e4ba715 /.cirrus.yml | |
parent | 86f2d8f67f0e4255128e448e531d91aec4cfd6be (diff) | |
download | curl-1de60b18de9db237a5e1f0efca6103b6cb6165cc.tar.gz |
cirrus-ci: add more macOS builds with m1 based on x86_64 builds
Also refactor macOS builds to use task matrix.
Assisted-by: Marc Hörsken
Closes #9565
Diffstat (limited to '.cirrus.yml')
-rw-r--r-- | .cirrus.yml | 57 |
1 files changed, 55 insertions, 2 deletions
diff --git a/.cirrus.yml b/.cirrus.yml index 1655444c6..2d298acf7 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -142,17 +142,70 @@ macos_task: matrix: - name: macOS arm64 normal env: + CFLAGS: "-Wno-vla -mmacosx-version-min=10.9" install_packages: nghttp2 configure: --without-ssl - name: macOS arm64 debug env: + CFLAGS: "-Wno-vla -mmacosx-version-min=10.9" install_packages: nghttp2 configure: --without-ssl --enable-debug + - name: macOS arm64 libssh2 + env: + CFLAGS: "-Wno-vla -mmacosx-version-min=10.9" + install_packages: nghttp2 libssh2 + configure: --without-ssl --enable-debug --with-libssh2=/opt/homebrew/opt/libssh2 + - name: macOS arm64 libssh-c-ares + env: + CFLAGS: "-Wno-vla -mmacosx-version-min=10.9" + install_packages: nghttp2 openssl libssh + configure: --enable-debug --with-openssl=/opt/homebrew/opt/openssl --with-libssh --enable-ares + - name: macOS arm64 libssh + env: + CFLAGS: "-Wno-vla -mmacosx-version-min=10.9" + install_packages: nghttp2 openssl libssh + configure: --enable-debug --with-openssl=/opt/homebrew/opt/openssl --with-libssh + - name: macOS arm64 c-ares + env: + CFLAGS: "-Wno-vla -mmacosx-version-min=10.9" + install_packages: nghttp2 + configure: --without-ssl --enable-debug --enable-ares + - name: macOS arm64 HTTP only + env: + CFLAGS: "-Wno-vla -mmacosx-version-min=10.15" + install_packages: 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-libpsl --without-librtmp --without-libssh2 --without-nghttp2 --without-ntlm-auth --without-ssl --without-zlib + - name: macOS arm64 SecureTransport http2 + env: + CFLAGS: "-Wno-vla -mmacosx-version-min=10.8" + install_packages: nghttp2 + configure: --with-secure-transport + - name: macOS arm64 OpenSSL http2 + env: + CFLAGS: "-Wno-vla -mmacosx-version-min=10.9" + install_packages: nghttp2 openssl + configure: --enable-debug --with-openssl=/opt/homebrew/opt/openssl + - name: macOS arm64 LibreSSL http2 + env: + CFLAGS: "-Wno-vla -mmacosx-version-min=10.9" + install_packages: nghttp2 libressl + configure: --enable-debug --with-openssl=/opt/homebrew/opt/libressl + - name: macOS arm64 torture + env: + CFLAGS: "-Wno-vla -mmacosx-version-min=10.9" + install_packages: nghttp2 openssl + configure: --enable-debug --disable-shared --disable-threaded-resolver --with-openssl=/opt/homebrew/opt/openssl + TFLAGS: -n -t --shallow=25 !FTP + - name: macOS arm64 torture-ftp + env: + CFLAGS: "-Wno-vla -mmacosx-version-min=10.9" + install_packages: nghttp2 openssl + configure: --enable-debug --disable-shared --disable-threaded-resolver --with-openssl=/opt/homebrew/opt/openssl + TFLAGS: -n -t --shallow=20 FTP env: CIRRUS_CLONE_DEPTH: 10 MAKE_FLAGS: -j 4 - CFLAGS: "-Wno-vla -mmacosx-version-min=10.9" pkginstall_script: - echo libtool autoconf automake pkg-config ${install_packages} | xargs -Ix -n1 echo brew '"x"' > /tmp/Brewfile @@ -165,6 +218,6 @@ macos_task: compile_script: - make V=1 && make V=1 examples && cd tests && make V=1 test_script: - - sudo make V=1 test-ci + - sudo -E make V=1 test-ci install_script: - sudo make V=1 install |