# The macOS builds use M1 (ARM) machines for platform diversity.
# See https://circleci.com/docs/configuration-reference/#macos-execution-environment
-# Use the latest 2.1 version of CircleCI pipeline process engine. See: https://circleci.com/docs/2.0/configuration-reference
+# Use the latest 2.1 version of CircleCI pipeline process engine. See: https://circleci.com/docs/configuration-reference/
version: 2.1
commands:
- run:
command: |
autoreconf -fi
- ./configure --enable-warnings --enable-werror --with-openssl || { tail -1000 config.log; false; }
+ ./configure --enable-warnings --enable-werror --with-openssl \
+ || { tail -1000 config.log; false; }
configure-openssl-no-verbose:
steps:
- run:
command: |
autoreconf -fi
- ./configure --disable-verbose --enable-werror --with-openssl || { tail -1000 config.log; false; }
+ ./configure --disable-verbose --enable-werror --with-openssl \
+ || { tail -1000 config.log; false; }
configure-no-proxy:
steps:
- run:
command: |
autoreconf -fi
- ./configure --disable-proxy --enable-werror --with-openssl || { tail -1000 config.log; false; }
+ ./configure --disable-proxy --enable-werror --with-openssl \
+ || { tail -1000 config.log; false; }
configure-macos-normal:
steps:
- run:
command: |
autoreconf -fi
- ./configure --enable-warnings --enable-websockets --without-ssl CFLAGS='-Wno-vla -mmacosx-version-min=10.9' CPPFLAGS="-I$(brew --prefix libpsl)/include" LDFLAGS="-L$(brew --prefix libpsl)/lib -L$(brew --prefix icu4c)/lib" LIBS="-licuuc -licudata" || { tail -1000 config.log; false; }
+ ./configure --enable-warnings --enable-websockets --without-ssl \
+ CPPFLAGS="-I$(brew --prefix libpsl)/include" \
+ CFLAGS='-mmacosx-version-min=10.9' \
+ LDFLAGS="-L$(brew --prefix libpsl)/lib -L$(brew --prefix icu4c)/lib" \
+ LIBS='-licuuc -licudata' \
+ || { tail -1000 config.log; false; }
configure-macos-debug:
steps:
- run:
command: |
autoreconf -fi
- ./configure --enable-warnings --enable-websockets --without-ssl --enable-debug CPPFLAGS="-I$(brew --prefix libpsl)/include" CFLAGS='-Wno-vla -mmacosx-version-min=10.9' LDFLAGS="-L$(brew --prefix libpsl)/lib -L$(brew --prefix icu4c)/lib" LIBS="-licuuc -licudata" || { tail -1000 config.log; false; }
+ ./configure --enable-debug --enable-warnings --enable-websockets --without-ssl \
+ CPPFLAGS="-I$(brew --prefix libpsl)/include" \
+ CFLAGS='-mmacosx-version-min=10.9' \
+ LDFLAGS="-L$(brew --prefix libpsl)/lib -L$(brew --prefix icu4c)/lib" \
+ LIBS='-licuuc -licudata' \
+ || { tail -1000 config.log; false; }
configure-macos-libssh2:
steps:
- run:
command: |
autoreconf -fi
- ./configure --enable-warnings --enable-websockets --without-ssl --with-libssh2=/opt/homebrew/opt/libssh2 --enable-debug CPPFLAGS="-I$(brew --prefix libpsl)/include" CFLAGS='-Wno-vla -mmacosx-version-min=10.9' LDFLAGS="-L$(brew --prefix libpsl)/lib -L$(brew --prefix icu4c)/lib" LIBS="-licuuc -licudata" || { tail -1000 config.log; false; }
+ ./configure --enable-debug --enable-warnings --enable-websockets --without-ssl "--with-libssh2=$(brew --prefix libssh2)" \
+ CPPFLAGS="-I$(brew --prefix libpsl)/include" \
+ CFLAGS='-mmacosx-version-min=10.9' \
+ LDFLAGS="-L$(brew --prefix libpsl)/lib -L$(brew --prefix icu4c)/lib" \
+ LIBS='-licuuc -licudata' \
+ || { tail -1000 config.log; false; }
configure-macos-libssh-c-ares:
steps:
- run:
command: |
autoreconf -fi
- ./configure --enable-warnings --enable-websockets --with-openssl --with-libssh --enable-ares --enable-debug PKG_CONFIG_PATH="$(brew --prefix openssl)/lib/pkgconfig" CPPFLAGS="-I$(brew --prefix libpsl)/include" CFLAGS='-Wno-vla -mmacosx-version-min=10.9' LDFLAGS="-L$(brew --prefix libpsl)/lib -L$(brew --prefix icu4c)/lib" LIBS="-licuuc -licudata" || { tail -1000 config.log; false; }
+ ./configure --enable-debug --enable-warnings --enable-websockets --with-openssl --with-libssh --enable-ares \
+ PKG_CONFIG_PATH="$(brew --prefix openssl)/lib/pkgconfig" \
+ CPPFLAGS="-I$(brew --prefix libpsl)/include" \
+ CFLAGS='-mmacosx-version-min=10.9' \
+ LDFLAGS="-L$(brew --prefix libpsl)/lib -L$(brew --prefix icu4c)/lib" \
+ LIBS='-licuuc -licudata' \
+ || { tail -1000 config.log; false; }
configure-macos-libssh:
steps:
- run:
command: |
autoreconf -fi
- ./configure --enable-warnings --enable-websockets --with-openssl --with-libssh --enable-debug PKG_CONFIG_PATH="$(brew --prefix openssl)/lib/pkgconfig" CPPFLAGS="-I$(brew --prefix libpsl)/include" CFLAGS='-Wno-vla -mmacosx-version-min=10.9' LDFLAGS="-L$(brew --prefix libpsl)/lib -L$(brew --prefix icu4c)/lib" LIBS="-licuuc -licudata" || { tail -1000 config.log; false; }
+ ./configure --enable-debug --enable-warnings --enable-websockets --with-openssl --with-libssh \
+ PKG_CONFIG_PATH="$(brew --prefix openssl)/lib/pkgconfig" \
+ CPPFLAGS="-I$(brew --prefix libpsl)/include" \
+ CFLAGS='-mmacosx-version-min=10.9' \
+ LDFLAGS="-L$(brew --prefix libpsl)/lib -L$(brew --prefix icu4c)/lib" \
+ LIBS='-licuuc -licudata' \
+ || { tail -1000 config.log; false; }
configure-macos-c-ares:
steps:
- run:
command: |
autoreconf -fi
- ./configure --enable-warnings --enable-websockets --without-ssl --enable-ares --enable-debug CPPFLAGS="-I$(brew --prefix libpsl)/include" CFLAGS='-Wno-vla -mmacosx-version-min=10.9' LDFLAGS="-L$(brew --prefix libpsl)/lib -L$(brew --prefix icu4c)/lib" LIBS="-licuuc -licudata" || { tail -1000 config.log; false; }
+ ./configure --enable-debug --enable-warnings --enable-websockets --without-ssl --enable-ares \
+ CPPFLAGS="-I$(brew --prefix libpsl)/include" \
+ CFLAGS='-mmacosx-version-min=10.9' \
+ LDFLAGS="-L$(brew --prefix libpsl)/lib -L$(brew --prefix icu4c)/lib" \
+ LIBS='-licuuc -licudata' \
+ || { tail -1000 config.log; false; }
configure-macos-http-only:
steps:
- run:
command: |
autoreconf -fi
- ./configure --enable-warnings --enable-maintainer-mode --disable-dict --disable-file --disable-ftp --disable-gopher --disable-imap --disable-ldap --disable-mqtt --disable-pop3 --disable-rtsp --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-ssl --without-zlib --enable-debug CFLAGS='-Wno-vla -mmacosx-version-min=10.15' || { tail -1000 config.log; false; }
+ ./configure --enable-debug --enable-warnings \
+ --disable-dict \
+ --disable-file \
+ --disable-ftp \
+ --disable-gopher \
+ --disable-imap \
+ --disable-ldap \
+ --disable-mqtt \
+ --disable-pop3 \
+ --disable-rtsp \
+ --disable-shared \
+ --disable-smb \
+ --disable-smtp \
+ --disable-telnet \
+ --disable-tftp \
+ --disable-unix-sockets \
+ --without-brotli \
+ --without-gssapi \
+ --without-libidn2 \
+ --without-libpsl \
+ --without-librtmp \
+ --without-libssh2 \
+ --without-nghttp2 \
+ --without-ssl \
+ --without-zlib \
+ CFLAGS='-mmacosx-version-min=10.15' \
+ || { tail -1000 config.log; false; }
configure-macos-securetransport-http2:
steps:
- run:
command: |
autoreconf -fi
- ./configure --enable-warnings --enable-websockets --with-secure-transport CPPFLAGS="-I$(brew --prefix libpsl)/include" CFLAGS='-Wno-vla -mmacosx-version-min=10.8' LDFLAGS="-L$(brew --prefix libpsl)/lib -L$(brew --prefix icu4c)/lib" LIBS="-licuuc -licudata" || { tail -1000 config.log; false; }
+ ./configure --enable-warnings --enable-websockets --with-secure-transport \
+ CPPFLAGS="-I$(brew --prefix libpsl)/include" \
+ CFLAGS='-mmacosx-version-min=10.8' \
+ LDFLAGS="-L$(brew --prefix libpsl)/lib -L$(brew --prefix icu4c)/lib" \
+ LIBS='-licuuc -licudata' \
+ || { tail -1000 config.log; false; }
configure-macos-openssl-http2:
steps:
- run:
command: |
autoreconf -fi
- ./configure --enable-warnings --enable-websockets --with-openssl --enable-debug PKG_CONFIG_PATH="$(brew --prefix openssl)/lib/pkgconfig" CPPFLAGS="-I$(brew --prefix libpsl)/include" CFLAGS='-Wno-vla -mmacosx-version-min=10.9' LDFLAGS="-L$(brew --prefix libpsl)/lib -L$(brew --prefix icu4c)/lib" LIBS="-licuuc -licudata" || { tail -1000 config.log; false; }
+ ./configure --enable-debug --enable-warnings --enable-websockets --with-openssl \
+ PKG_CONFIG_PATH="$(brew --prefix openssl)/lib/pkgconfig" \
+ CPPFLAGS="-I$(brew --prefix libpsl)/include" \
+ CFLAGS='-mmacosx-version-min=10.9' \
+ LDFLAGS="-L$(brew --prefix libpsl)/lib -L$(brew --prefix icu4c)/lib" \
+ LIBS='-licuuc -licudata' \
+ || { tail -1000 config.log; false; }
configure-macos-libressl-http2:
steps:
- run:
command: |
autoreconf -fi
- ./configure --enable-warnings --enable-websockets --with-openssl --enable-debug PKG_CONFIG_PATH="$(brew --prefix libressl)/lib/pkgconfig" CPPFLAGS="-I$(brew --prefix libpsl)/include" CFLAGS='-Wno-vla -mmacosx-version-min=10.9' LDFLAGS="-L$(brew --prefix libpsl)/lib -L$(brew --prefix icu4c)/lib" LIBS="-licuuc -licudata" || { tail -1000 config.log; false; }
+ ./configure --enable-debug --enable-warnings --enable-websockets --with-openssl \
+ PKG_CONFIG_PATH="$(brew --prefix libressl)/lib/pkgconfig" \
+ CPPFLAGS="-I$(brew --prefix libpsl)/include" \
+ CFLAGS='-mmacosx-version-min=10.9' \
+ LDFLAGS="-L$(brew --prefix libpsl)/lib -L$(brew --prefix icu4c)/lib" \
+ LIBS='-licuuc -licudata' \
+ || { tail -1000 config.log; false; }
configure-macos-torture:
steps:
- run:
command: |
autoreconf -fi
- ./configure --enable-warnings --enable-websockets --disable-shared --disable-threaded-resolver --with-openssl --enable-debug PKG_CONFIG_PATH="$(brew --prefix openssl)/lib/pkgconfig" CPPFLAGS="-I$(brew --prefix libpsl)/include" CFLAGS='-Wno-vla -mmacosx-version-min=10.9' LDFLAGS="-L$(brew --prefix libpsl)/lib -L$(brew --prefix icu4c)/lib" LIBS="-licuuc -licudata" || { tail -1000 config.log; false; }
+ ./configure --enable-debug --enable-warnings --enable-websockets --disable-shared --disable-threaded-resolver --with-openssl \
+ PKG_CONFIG_PATH="$(brew --prefix openssl)/lib/pkgconfig" \
+ CPPFLAGS="-I$(brew --prefix libpsl)/include" \
+ CFLAGS='-mmacosx-version-min=10.9' \
+ LDFLAGS="-L$(brew --prefix libpsl)/lib -L$(brew --prefix icu4c)/lib" \
+ LIBS='-licuuc -licudata' \
+ || { tail -1000 config.log; false; }
configure-macos-torture-ftp:
steps:
- run:
command: |
autoreconf -fi
- ./configure --enable-warnings --enable-websockets --disable-shared --disable-threaded-resolver --with-openssl --enable-debug PKG_CONFIG_PATH="$(brew --prefix openssl)/lib/pkgconfig" CPPFLAGS="-I$(brew --prefix libpsl)/include" CFLAGS='-Wno-vla -mmacosx-version-min=10.9' LDFLAGS="-L$(brew --prefix libpsl)/lib -L$(brew --prefix icu4c)/lib" LIBS="-licuuc -licudata" || { tail -1000 config.log; false; }
+ ./configure --enable-debug --enable-warnings --enable-websockets --disable-shared --disable-threaded-resolver --with-openssl \
+ PKG_CONFIG_PATH="$(brew --prefix openssl)/lib/pkgconfig" \
+ CPPFLAGS="-I$(brew --prefix libpsl)/include" \
+ CFLAGS='-mmacosx-version-min=10.9' \
+ LDFLAGS="-L$(brew --prefix libpsl)/lib -L$(brew --prefix icu4c)/lib" \
+ LIBS='-licuuc -licudata' \
+ || { tail -1000 config.log; false; }
install-cares:
steps:
- run:
command: |
autoreconf -fi
- ./configure --enable-warnings --enable-werror --with-openssl --with-libssh || { tail -1000 config.log; false; }
+ ./configure --enable-warnings --enable-werror --with-openssl --with-libssh \
+ || { tail -1000 config.log; false; }
install-wolfssl:
steps:
- run:
command: |
autoreconf -fi
- ./configure --enable-warnings --enable-werror --with-openssl --enable-ares || { tail -1000 config.log; false; }
+ ./configure --enable-warnings --enable-werror --with-openssl --enable-ares \
+ || { tail -1000 config.log; false; }
configure-wolfssh:
steps:
- run:
command: |
autoreconf -fi
- LDFLAGS="-Wl,-rpath,$HOME/wssh/lib" ./configure --enable-warnings --enable-werror --with-wolfssl=$HOME/wssl --with-wolfssh=$HOME/wssh || { tail -1000 config.log; false; }
+ LDFLAGS="-Wl,-rpath,$HOME/wssh/lib" ./configure --enable-warnings --enable-werror --with-wolfssl=$HOME/wssl --with-wolfssh=$HOME/wssh \
+ || { tail -1000 config.log; false; }
configure-cares-debug:
steps:
- run:
command: |
autoreconf -fi
- ./configure --enable-debug --enable-werror --with-openssl --enable-ares || { tail -1000 config.log; false; }
+ ./configure --enable-debug --enable-werror --with-openssl --enable-ares \
+ || { tail -1000 config.log; false; }
build:
steps:
test:
steps:
- - run: make -j3 V=1 test-ci
+ - run: make -j3 V=1 test-ci TFLAGS='-j14'
test-macos:
steps:
- - run: make -j5 V=1 test-ci
+ - run: make -j5 V=1 test-ci TFLAGS='-j10'
test-torture:
steps:
- - run: make -j5 V=1 test-ci TFLAGS="-n -t --shallow=25 !FTP"
+ - run: make -j5 V=1 test-ci TFLAGS='-j10 -n -t --shallow=25 !FTP'
test-torture-ftp:
steps:
# Test 250 takes too long, causing Circle CI to kill the job
- - run: make -j5 V=1 test-ci TFLAGS="-n -t --shallow=20 FTP !250 !251"
+ - run: make -j5 V=1 test-ci TFLAGS='-j10 -n -t --shallow=20 FTP !250 !251'
executors:
ubuntu: