CI: install Python package impacket to run SMB test 1451
Install Python package impacket in relevant CI workflows. Follow up to #7935 Supersedes #7940 Closes #8544
This commit is contained in:
parent
2cd9837e02
commit
f9b212cc84
@ -209,14 +209,14 @@ stages:
|
||||
name: 32-bit OpenSSL/libssh2
|
||||
container_img: ghcr.io/mback2k/curl-docker-winbuildenv/msys2-mingw32:ltsc2019
|
||||
container_cmd: C:\msys64\usr\bin\sh
|
||||
prepare: pacman -S --needed --noconfirm --noprogressbar libssh2-devel mingw-w64-i686-libssh2
|
||||
prepare: pacman -S --needed --noconfirm --noprogressbar libssh2-devel mingw-w64-i686-libssh2 mingw-w64-i686-python-pip mingw-w64-i686-python-wheel mingw-w64-i686-python-pyopenssl && python3 -m pip install --prefer-binary impacket
|
||||
configure: --host=i686-w64-mingw32 --build=i686-w64-mingw32 --prefix=/mingw32 --enable-debug --enable-werror --with-libssh2 --with-openssl
|
||||
tests: "~571"
|
||||
msys2_mingw64_debug_openssl:
|
||||
name: 64-bit OpenSSL/libssh2
|
||||
container_img: ghcr.io/mback2k/curl-docker-winbuildenv/msys2-mingw64:ltsc2019
|
||||
container_cmd: C:\msys64\usr\bin\sh
|
||||
prepare: pacman -S --needed --noconfirm --noprogressbar libssh2-devel mingw-w64-x86_64-libssh2
|
||||
prepare: pacman -S --needed --noconfirm --noprogressbar libssh2-devel mingw-w64-x86_64-libssh2 mingw-w64-x86_64-python-pip mingw-w64-x86_64-python-wheel mingw-w64-x86_64-python-pyopenssl && python3 -m pip install --prefer-binary impacket
|
||||
configure: --host=x86_64-w64-mingw32 --build=x86_64-w64-mingw32 --prefix=/mingw64 --enable-debug --enable-werror --with-libssh2 --with-openssl
|
||||
tests: "~571"
|
||||
msys2_mingw64_debug_libssh:
|
||||
@ -248,14 +248,14 @@ stages:
|
||||
name: 32-bit Schannel/SSPI/WinIDN/libssh2
|
||||
container_img: ghcr.io/mback2k/curl-docker-winbuildenv/msys2-mingw32:ltsc2019
|
||||
container_cmd: C:\msys64\usr\bin\sh
|
||||
prepare: pacman -S --needed --noconfirm --noprogressbar libssh2-devel mingw-w64-i686-libssh2
|
||||
prepare: pacman -S --needed --noconfirm --noprogressbar libssh2-devel mingw-w64-i686-libssh2 mingw-w64-i686-python-pip mingw-w64-i686-python-wheel mingw-w64-i686-python-pyopenssl && python3 -m pip install --prefer-binary impacket
|
||||
configure: --host=i686-w64-mingw32 --build=i686-w64-mingw32 --prefix=/mingw32 --enable-debug --enable-werror --enable-sspi --with-schannel --with-winidn --with-libssh2
|
||||
tests: "~571"
|
||||
msys2_mingw64_debug_schannel:
|
||||
name: 64-bit Schannel/SSPI/WinIDN/libssh2
|
||||
container_img: ghcr.io/mback2k/curl-docker-winbuildenv/msys2-mingw64:ltsc2019
|
||||
container_cmd: C:\msys64\usr\bin\sh
|
||||
prepare: pacman -S --needed --noconfirm --noprogressbar libssh2-devel mingw-w64-x86_64-libssh2
|
||||
prepare: pacman -S --needed --noconfirm --noprogressbar libssh2-devel mingw-w64-x86_64-libssh2 mingw-w64-x86_64-python-pip mingw-w64-x86_64-python-wheel mingw-w64-x86_64-python-pyopenssl && python3 -m pip install --prefer-binary impacket
|
||||
configure: --host=x86_64-w64-mingw32 --build=x86_64-w64-mingw32 --prefix=/mingw64 --enable-debug --enable-werror --enable-sspi --with-schannel --with-winidn --with-libssh2
|
||||
tests: "~571"
|
||||
msys1_mingw_debug_schannel:
|
||||
|
||||
@ -83,14 +83,14 @@ windows_task:
|
||||
env:
|
||||
container_img: ghcr.io/mback2k/curl-docker-winbuildenv/msys2-mingw32:ltsc2019
|
||||
container_cmd: C:\msys64\usr\bin\sh
|
||||
prepare: pacman -S --needed --noconfirm --noprogressbar libssh2-devel mingw-w64-i686-libssh2
|
||||
prepare: pacman -S --needed --noconfirm --noprogressbar libssh2-devel mingw-w64-i686-libssh2 mingw-w64-i686-python-pip mingw-w64-i686-python-wheel mingw-w64-i686-python-pyopenssl && python3 -m pip install --prefer-binary impacket
|
||||
configure: --host=i686-w64-mingw32 --build=i686-w64-mingw32 --prefix=/mingw32 --enable-werror --enable-sspi --with-schannel --with-winidn --with-libssh2
|
||||
tests: "~571"
|
||||
- name: Windows 32-bit static/release Schannel/SSPI/WinIDN/libssh2
|
||||
env:
|
||||
container_img: ghcr.io/mback2k/curl-docker-winbuildenv/msys2-mingw32:ltsc2019
|
||||
container_cmd: C:\msys64\usr\bin\sh
|
||||
prepare: pacman -S --needed --noconfirm --noprogressbar libssh2-devel mingw-w64-i686-libssh2
|
||||
prepare: pacman -S --needed --noconfirm --noprogressbar libssh2-devel mingw-w64-i686-libssh2 mingw-w64-i686-python-pip mingw-w64-i686-python-wheel mingw-w64-i686-python-pyopenssl && python3 -m pip install --prefer-binary impacket
|
||||
configure: --host=i686-w64-mingw32 --build=i686-w64-mingw32 --prefix=/mingw32 --enable-werror --enable-sspi --with-schannel --with-winidn --with-libssh2 --disable-shared --enable-static
|
||||
tests: "~571"
|
||||
curl_LDFLAGS: -all-static
|
||||
@ -99,14 +99,14 @@ windows_task:
|
||||
env:
|
||||
container_img: ghcr.io/mback2k/curl-docker-winbuildenv/msys2-mingw64:ltsc2019
|
||||
container_cmd: C:\msys64\usr\bin\sh
|
||||
prepare: pacman -S --needed --noconfirm --noprogressbar libssh2-devel mingw-w64-x86_64-libssh2
|
||||
prepare: pacman -S --needed --noconfirm --noprogressbar libssh2-devel mingw-w64-x86_64-libssh2 mingw-w64-x86_64-python-pip mingw-w64-x86_64-python-wheel mingw-w64-x86_64-python-pyopenssl && python3 -m pip install --prefer-binary impacket
|
||||
configure: --host=x86_64-w64-mingw32 --build=x86_64-w64-mingw32 --prefix=/mingw64 --enable-werror --enable-sspi --with-schannel --with-winidn --with-libssh2
|
||||
tests: "~571"
|
||||
- name: Windows 64-bit static/release Schannel/SSPI/WinIDN/libssh2
|
||||
env:
|
||||
container_img: ghcr.io/mback2k/curl-docker-winbuildenv/msys2-mingw64:ltsc2019
|
||||
container_cmd: C:\msys64\usr\bin\sh
|
||||
prepare: pacman -S --needed --noconfirm --noprogressbar libssh2-devel mingw-w64-x86_64-libssh2
|
||||
prepare: pacman -S --needed --noconfirm --noprogressbar libssh2-devel mingw-w64-x86_64-libssh2 mingw-w64-x86_64-python-pip mingw-w64-x86_64-python-wheel mingw-w64-x86_64-python-pyopenssl && python3 -m pip install --prefer-binary impacket
|
||||
configure: --host=x86_64-w64-mingw32 --build=x86_64-w64-mingw32 --prefix=/mingw64 --enable-werror --enable-sspi --with-schannel --with-winidn --with-libssh2 --disable-shared --enable-static
|
||||
tests: "~571"
|
||||
curl_LDFLAGS: -all-static
|
||||
|
||||
6
.github/workflows/linux-hyper.yml
vendored
6
.github/workflows/linux-hyper.yml
vendored
@ -25,8 +25,10 @@ jobs:
|
||||
configure: --with-openssl --with-hyper=$HOME/hyper
|
||||
|
||||
steps:
|
||||
- run: sudo apt-get install libtool autoconf automake pkg-config
|
||||
name: install prereqs
|
||||
- run: |
|
||||
sudo apt-get install libtool autoconf automake pkg-config
|
||||
sudo python3 -m pip install impacket
|
||||
name: install prereqs and impacket
|
||||
|
||||
- run: (cd $HOME;
|
||||
git clone --depth=1 https://github.com/hyperium/hyper.git;
|
||||
|
||||
6
.github/workflows/macos.yml
vendored
6
.github/workflows/macos.yml
vendored
@ -80,6 +80,9 @@ jobs:
|
||||
- run: brew update && for i in 1 2 3; do brew bundle install --no-lock --file /tmp/Brewfile && break || sleep 1; done
|
||||
name: 'brew install'
|
||||
|
||||
- run: python3 -m pip install impacket
|
||||
name: 'pip3 install'
|
||||
|
||||
- uses: actions/checkout@v2
|
||||
|
||||
- run: ./buildconf && ./configure --enable-warnings --enable-werror ${{ matrix.build.configure }}
|
||||
@ -127,6 +130,9 @@ jobs:
|
||||
- run: brew update && brew bundle install --no-lock --file /tmp/Brewfile
|
||||
name: 'brew install'
|
||||
|
||||
- run: python3 -m pip install impacket
|
||||
name: 'pip3 install'
|
||||
|
||||
- uses: actions/checkout@v2
|
||||
|
||||
- run: cmake -H. -Bbuild -DCURL_WERROR=ON -DPICKY_COMPILER=ON ${{ matrix.build.generate }}
|
||||
|
||||
6
.github/workflows/mbedtls.yml
vendored
6
.github/workflows/mbedtls.yml
vendored
@ -28,8 +28,10 @@ jobs:
|
||||
configure: CC=clang --with-mbedtls=$HOME/mbed --enable-debug --enable-werror
|
||||
|
||||
steps:
|
||||
- run: sudo apt-get install libtool autoconf automake pkg-config clang stunnel4
|
||||
name: install prereqs
|
||||
- run: |
|
||||
sudo apt-get install libtool autoconf automake pkg-config clang stunnel4
|
||||
sudo python3 -m pip install impacket
|
||||
name: install prereqs and impacket
|
||||
|
||||
- run: |
|
||||
git clone --depth=1 -b v3.1.0 https://github.com/ARMmbed/mbedtls
|
||||
|
||||
4
.github/workflows/nss.yml
vendored
4
.github/workflows/nss.yml
vendored
@ -26,8 +26,8 @@ jobs:
|
||||
|
||||
steps:
|
||||
- run: |
|
||||
sudo apt-get install libtool autoconf automake pkg-config stunnel4 python3-pip libnss3-dev clang-9 libpsl-dev libbrotli-dev libzstd-dev libnghttp2-dev nss-plugin-pem
|
||||
sudo pip3 install impacket
|
||||
sudo apt-get install libtool autoconf automake pkg-config stunnel4 libnss3-dev clang-9 libpsl-dev libbrotli-dev libzstd-dev libnghttp2-dev nss-plugin-pem
|
||||
sudo python3 -m pip install impacket
|
||||
name: install prereqs and impacket
|
||||
|
||||
- uses: actions/checkout@v2
|
||||
|
||||
6
.github/workflows/rustls.yml
vendored
6
.github/workflows/rustls.yml
vendored
@ -25,8 +25,10 @@ jobs:
|
||||
configure: --with-rustls=$HOME/rustls --enable-debug --enable-werror
|
||||
|
||||
steps:
|
||||
- run: sudo apt-get install libtool autoconf automake pkg-config libpsl-dev libbrotli-dev libzstd-dev stunnel4
|
||||
name: install prereqs
|
||||
- run: |
|
||||
sudo apt-get install libtool autoconf automake pkg-config libpsl-dev libbrotli-dev libzstd-dev stunnel4
|
||||
sudo python3 -m pip install impacket
|
||||
name: install prereqs and impacket
|
||||
|
||||
- run: |
|
||||
git clone --depth=1 --recursive https://github.com/rustls/rustls-ffi.git -b v0.8.2
|
||||
|
||||
4
.github/workflows/wolfssl.yml
vendored
4
.github/workflows/wolfssl.yml
vendored
@ -31,8 +31,8 @@ jobs:
|
||||
|
||||
steps:
|
||||
- run: |
|
||||
sudo apt-get install libtool autoconf automake pkg-config stunnel4 python3-pip
|
||||
sudo pip3 install impacket
|
||||
sudo apt-get install libtool autoconf automake pkg-config stunnel4
|
||||
sudo python3 -m pip install impacket
|
||||
name: install prereqs and impacket
|
||||
|
||||
- run: |
|
||||
|
||||
Loading…
Reference in New Issue
Block a user