This is an automated email from the ASF dual-hosted git repository.

bneradt pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/trafficserver-ci.git


The following commit(s) were added to refs/heads/main by this push:
     new beb4c84  quiche branch builds: support openssl (#345)
beb4c84 is described below

commit beb4c84657609333835d0a88dc6eea78cab5d450
Author: Brian Neradt <[email protected]>
AuthorDate: Fri May 3 17:29:21 2024 -0500

    quiche branch builds: support openssl (#345)
    
    Support quiche built on top of openssl as well as boringssl.
---
 jenkins/bin/quiche.sh          | 8 +++++++-
 jenkins/branch/quiche.pipeline | 2 +-
 2 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/jenkins/bin/quiche.sh b/jenkins/bin/quiche.sh
index be633f3..65d63c7 100755
--- a/jenkins/bin/quiche.sh
+++ b/jenkins/bin/quiche.sh
@@ -28,13 +28,19 @@ then
   exit 0
 fi
 
+SSL_FLAVOR="boringssl"
+if [ $# -eq 2 ]
+then
+  SSL_FLAVOR=$1
+fi
+
 cd "${WORKSPACE}/src"
 
 # copy in CMakePresets.json
 presetpath="../ci/jenkins/branch/CMakePresets.json"
 [ -f "${presetpath}" ] && /bin/cp -f "${presetpath}" .
 
-cmake -B build --preset branch-quiche-on-boringssl
+cmake -B build --preset branch-quiche-on-${SSL_FLAVOR}
 cmake --build build -j${NPROC} -v
 cmake --install build
 
diff --git a/jenkins/branch/quiche.pipeline b/jenkins/branch/quiche.pipeline
index 8f8af5b..8c25907 100644
--- a/jenkins/branch/quiche.pipeline
+++ b/jenkins/branch/quiche.pipeline
@@ -68,7 +68,7 @@ pipeline {
                                        set -e
                                        export PATH=/opt/bin:${PATH}
                                        source ../ci/jenkins/bin/environment.sh
-                                       ../ci/jenkins/bin/quiche.sh
+                                       ../ci/jenkins/bin/quiche.sh 
${SSL_FLAVOR}
                                        '''
                                }
                        }

Reply via email to