]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
CI: test building wolfssl with --enable-opensslextra
authorHarry Sarson <harry.sarson@hotmail.co.uk>
Fri, 21 Jan 2022 13:31:48 +0000 (13:31 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Fri, 21 Jan 2022 22:04:15 +0000 (23:04 +0100)
Closes #8315

.github/workflows/wolfssl.yml

index 36aaba1508db3eeb25548e0f0020c035b86a64ff..6f38b43b81966d83544f1cd6f05cd49209d5d615 100644 (file)
@@ -20,9 +20,14 @@ jobs:
       fail-fast: false
       matrix:
         build:
-        - name: wolfssl
+        - name: wolfssl (configured with --enable-all)
           install:
-          configure: --with-wolfssl=$HOME/wssl --enable-debug --enable-werror
+          wolfssl-configure: --enable-all
+          curl-configure: --with-wolfssl=$HOME/wssl --enable-debug --enable-werror
+        - name: wolfssl (configured with --enable-opensslextra)
+          install:
+          wolfssl-configure: --enable-opensslextra
+          curl-configure: --with-wolfssl=$HOME/wssl --enable-debug --enable-werror
 
     steps:
     - run: |
@@ -35,14 +40,14 @@ jobs:
        tar -xzf v5.0.0-stable.tar.gz
        cd wolfssl-5.0.0-stable
        ./autogen.sh
-       ./configure --enable-tls13 --enable-all --enable-harden --prefix=$HOME/wssl
+       ./configure --enable-tls13 ${{ matrix.build.wolfssl-configure }} --enable-harden --prefix=$HOME/wssl
        make && make install
 
       name: 'install wolfssl'
 
     - uses: actions/checkout@v2
 
-    - run: ./buildconf && LDFLAGS="-Wl,-rpath,$HOME/wssl/lib" ./configure --enable-warnings --enable-werror ${{ matrix.build.configure }} && make V=1
+    - run: ./buildconf && LDFLAGS="-Wl,-rpath,$HOME/wssl/lib" ./configure --enable-warnings --enable-werror ${{ matrix.build.curl-configure }} && make V=1
       name: 'configure and build'
 
     - run: make V=1 test-ci