]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
circleci: add a job using wolfSSH
authorDaniel Stenberg <daniel@haxx.se>
Sat, 12 Feb 2022 22:14:16 +0000 (23:14 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Mon, 14 Feb 2022 08:41:32 +0000 (09:41 +0100)
Build only, no tests.

Closes #8445

.circleci/config.yml

index 57a1517caac4a003b92c0a9972f3cd756593c69d..8af8fb69cb19cf69225bb65e8f1242be8fbc1f8c 100644 (file)
@@ -72,6 +72,28 @@ commands:
             ./buildconf
             ./configure --enable-warnings --enable-werror --with-openssl --with-libssh
 
+  install-wolfssl:
+    steps:
+      - run:
+          command: |
+            curl -LO https://github.com/wolfSSL/wolfssl/archive/v5.1.1-stable.tar.gz
+            tar -xzf v5.1.1-stable.tar.gz
+            cd wolfssl-5.1.1-stable
+            ./autogen.sh
+            ./configure --enable-tls13 --enable-all --enable-harden --prefix=$HOME/wssl
+            make && make install
+
+  install-wolfssh:
+    steps:
+      - run:
+          command: |
+            curl -LO https://github.com/wolfSSL/wolfssh/archive/v1.4.8-stable.tar.gz
+            tar -xzf v1.4.8-stable.tar.gz
+            cd wolfssh-1.4.8-stable
+            ./autogen.sh
+            ./configure --with-wolfssl=$HOME/wssl --prefix=$HOME/wssh --enable-scp --enable-sftp --disable-examples
+            make && make install
+
   configure-cares:
     steps:
       - run:
@@ -79,6 +101,13 @@ commands:
             ./buildconf
             ./configure --enable-warnings --enable-werror --with-openssl --enable-ares
 
+  configure-wolfssh:
+    steps:
+      - run:
+          command: |
+            ./buildconf
+            LDFLAGS="-Wl,-rpath,$HOME/wssh/lib" ./configure --enable-warnings --enable-werror --with-wolfssl=$HOME/wssl --with-wolfssh=$HOME/wssh
+
   configure-cares-debug:
     steps:
       - run:
@@ -117,6 +146,16 @@ jobs:
       - configure-openssl-no-verbose
       - build
 
+  wolfssh:
+    executor: ubuntu
+    steps:
+      - checkout
+      - install-deps
+      - install-wolfssl
+      - install-wolfssh
+      - configure-wolfssh
+      - build
+
   no-proxy:
     executor: ubuntu
     steps:
@@ -186,6 +225,10 @@ workflows:
     jobs:
       - no-verbose
 
+  wolfssl-wolfssh:
+    jobs:
+      - wolfssh
+
   arm-openssl:
     jobs:
       - arm