]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
cirrus-ci: add more macOS builds with m1 based on x86_64 builds
authorPhilip H <47042125+pheiduck@users.noreply.github.com>
Sun, 9 Oct 2022 20:41:21 +0000 (22:41 +0200)
committerMarc Hoersken <info@marc-hoersken.de>
Sat, 15 Oct 2022 19:40:19 +0000 (21:40 +0200)
Also refactor macOS builds to use task matrix.

Assisted-by: Marc Hörsken
Closes #9565

.cirrus.yml

index 1655444c65ffdb324f6286bd3ed0f8c4b580a927..2d298acf716c280bbb1393332a6a3054b9955d04 100644 (file)
@@ -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