Skip to content

Commit cecbe9b

Browse files
committed
Install curl v7.68 in the CI
1 parent 85550e6 commit cecbe9b

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

npm/ci-requirements.sh

+13
Original file line numberDiff line numberDiff line change
@@ -44,5 +44,18 @@ popd &>/dev/null;
4444
echo "Installing dependencies required for tests in codegens/csharp-restsharp"
4545
sudo apt-get install -y mono-complete
4646

47+
echo "Installing curl v7.68"
48+
sudo apt-get install -y libssl-dev autoconf libtool make
49+
wget https://curl.haxx.se/download/curl-7.68.0.zip
50+
unzip curl-7.68.0.zip
51+
pushd ./curl-7.68.0 &>/dev/null
52+
./buildconf
53+
./configure --with-ssl
54+
make
55+
sudo make install
56+
sudo cp /usr/local/bin/curl /usr/bin/curl
57+
sudo ldconfig
58+
popd &>/dev/null
59+
4760
echo "Installing dependencies required for tests in codegens/shell-httpie"
4861
sudo apt-get install httpie

0 commit comments

Comments
 (0)