]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
circleci: add a job using libssh
authorDaniel Stenberg <daniel@haxx.se>
Sat, 12 Feb 2022 21:57:23 +0000 (22:57 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Mon, 14 Feb 2022 07:26:44 +0000 (08:26 +0100)
Closes #8444

.circleci/config.yml

index 7a7d93802deb4d59712d0abd07b719d231561a73..57a1517caac4a003b92c0a9972f3cd756593c69d 100644 (file)
@@ -53,12 +53,25 @@ commands:
           command: |
             sudo apt-get update && sudo apt-get install -y libc-ares-dev
 
+  install-libssh:
+    steps:
+      - run:
+          command: |
+            sudo apt-get update && sudo apt-get install -y libssh-dev
+
   install-deps:
     steps:
       - run:
           command: |
             sudo apt-get update && sudo apt-get install -y libpsl-dev libbrotli-dev libzstd-dev zlib1g-dev
 
+  configure-libssh:
+    steps:
+      - run:
+          command: |
+            ./buildconf
+            ./configure --enable-warnings --enable-werror --with-openssl --with-libssh
+
   configure-cares:
     steps:
       - run:
@@ -122,6 +135,15 @@ jobs:
       - build
       - test
 
+  libssh:
+    executor: ubuntu
+    steps:
+      - checkout
+      - install-libssh
+      - configure-libssh
+      - build
+      - test
+
   arm:
     machine:
       image: ubuntu-2004:202101-01
@@ -152,6 +174,10 @@ workflows:
     jobs:
       - cares
 
+  openssl-libssh:
+    jobs:
+      - libssh
+
   openssl-no-proxy:
     jobs:
       - no-proxy