Unverified Commit abd8142c by Edward Thomson Committed by GitHub

Merge pull request #6064 from libgit2/ethomson/ci_libssh2

ci: pull libssh2 from www.libssh2.org
parents 5ea2966d 825dd544
...@@ -18,7 +18,7 @@ RUN yum install -y \ ...@@ -18,7 +18,7 @@ RUN yum install -y \
FROM yum AS libssh2 FROM yum AS libssh2
RUN cd /tmp && \ RUN cd /tmp && \
curl https://libssh2.org/download/libssh2-1.8.0.tar.gz | tar -xz && \ curl --location --silent --show-error https://www.libssh2.org/download/libssh2-1.8.0.tar.gz | tar -xz && \
cd libssh2-1.8.0 && \ cd libssh2-1.8.0 && \
./configure && \ ./configure && \
make && \ make && \
......
...@@ -20,7 +20,7 @@ RUN yum install -y \ ...@@ -20,7 +20,7 @@ RUN yum install -y \
FROM yum AS libssh2 FROM yum AS libssh2
RUN cd /tmp && \ RUN cd /tmp && \
curl https://libssh2.org/download/libssh2-1.8.0.tar.gz | tar -xz && \ curl --location --silent --show-error https://www.libssh2.org/download/libssh2-1.8.0.tar.gz | tar -xz && \
cd libssh2-1.8.0 && \ cd libssh2-1.8.0 && \
./configure && \ ./configure && \
make && \ make && \
......
...@@ -49,8 +49,7 @@ RUN cd /tmp && \ ...@@ -49,8 +49,7 @@ RUN cd /tmp && \
FROM mbedtls AS libssh2 FROM mbedtls AS libssh2
RUN cd /tmp && \ RUN cd /tmp && \
curl --insecure --location --silent --show-error https://www.libssh2.org/download/libssh2-1.9.0.tar.gz | \ curl --location --silent --show-error https://www.libssh2.org/download/libssh2-1.9.0.tar.gz | tar -xz && \
tar -xz && \
cd libssh2-1.9.0 && \ cd libssh2-1.9.0 && \
mkdir build build-msan && \ mkdir build build-msan && \
cd build && \ cd build && \
......
...@@ -41,8 +41,7 @@ RUN cd /tmp && \ ...@@ -41,8 +41,7 @@ RUN cd /tmp && \
FROM mbedtls AS libssh2 FROM mbedtls AS libssh2
RUN cd /tmp && \ RUN cd /tmp && \
curl --insecure --location --silent --show-error https://www.libssh2.org/download/libssh2-1.8.2.tar.gz | \ curl --location --silent --show-error https://www.libssh2.org/download/libssh2-1.8.2.tar.gz | tar -xz && \
tar -xz && \
cd libssh2-1.8.2 && \ cd libssh2-1.8.2 && \
CFLAGS=-fPIC cmake -G Ninja -DBUILD_SHARED_LIBS=ON -DCRYPTO_BACKEND=Libgcrypt . && \ CFLAGS=-fPIC cmake -G Ninja -DBUILD_SHARED_LIBS=ON -DCRYPTO_BACKEND=Libgcrypt . && \
ninja install && \ ninja install && \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment