# read its configuration from, making it vulnerable to attacks on
# Windows. Do not use this component till there is a fix for these.
# https://github.com/curl/curl-for-win/blob/3951808deb04df9489ee17430f236ed54436f81a/libssh.sh#L6-L8
- config: '-DENABLE_DEBUG=ON -DENABLE_UNICODE=OFF -DCURL_USE_SCHANNEL=OFF -DCURL_BROTLI=ON -DCURL_ZSTD=ON -DCURL_USE_LIBPSL=ON -DHTTP_ONLY=ON -DUSE_LIBIDN2=ON -DCURL_USE_LIBSSH2=OFF -DCURL_USE_LIBSSH=ON'
+ config: '-DENABLE_DEBUG=ON -DENABLE_UNICODE=OFF -DCURL_USE_SCHANNEL=OFF -DCURL_BROTLI=ON -DCURL_ZSTD=ON -DCURL_USE_LIBPSL=ON -DHTTP_ONLY=ON -DCURL_USE_LIBSSH2=OFF -DCURL_USE_LIBSSH=ON'
- name: 'wolfssl'
install: 'brotli zlib zstd libpsl nghttp2 wolfssl libssh2 pkgconf gsasl'
arch: 'x64'
timeout-minutes: 12
run: |
export TFLAGS='-j14 !TFTP !MQTT !WebSockets !SMTP !FTP ${{ matrix.tflags }}'
- if [[ '${{ matrix.config }}' = *'-DUSE_WIN32_IDN=ON'* ]]; then
- if [[ '${{ matrix.config }}' != *'-DENABLE_UNICODE=ON'* ]]; then
- TFLAGS+=' ~1448 ~2046 ~2047'
- fi
- elif [[ '${{ matrix.config }}' = *'-DUSE_LIBIDN2=ON'* ]]; then
- TFLAGS+=' ~165 ~1448 ~2046 ~2047'
- fi
PATH="$PWD/bld/lib:$PATH"
cmake --build bld --config '${{ matrix.type }}' --target test-ci
if ($libcurl =~ /WinIDN/) {
$feature{"WinIDN"} = 1;
}
+ if ($libcurl =~ /libidn2/) {
+ $feature{"libidn2"} = 1;
+ }
if ($libcurl =~ /libssh2/i) {
$feature{"libssh2"} = 1;
}