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 88ea37f cmake: install and run regression tests. (#178)
88ea37f is described below
commit 88ea37fea5e436f7f93d6169c7c142b484b09d99
Author: Brian Neradt <[email protected]>
AuthorDate: Sat Jun 17 14:01:11 2023 -0500
cmake: install and run regression tests. (#178)
---
jenkins/bin/cmake.sh | 4 +++-
jenkins/github/cmake.pipeline | 4 +++-
2 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/jenkins/bin/cmake.sh b/jenkins/bin/cmake.sh
index 2f31d46..b361adb 100755
--- a/jenkins/bin/cmake.sh
+++ b/jenkins/bin/cmake.sh
@@ -24,6 +24,8 @@ cd "${WORKSPACE}/src"
mkdir cmake-build-release
cd cmake-build-release
-cmake -GNinja -DCMAKE_BUILD_TYPE:STRING=Release
-DOPENSSL_ROOT_DIR=/opt/openssl-quic ..
+cmake -GNinja -DCMAKE_BUILD_TYPE:STRING=Release
-DOPENSSL_ROOT_DIR=/opt/openssl-quic -DCMAKE_INSTALL_PREFIX=/tmp/ats ..
cmake --build . -j4 -v
+cmake --install .
ctest -j4 --output-on-failure --no-compress-output -T Test
+/tmp/ats/bin/traffic_server -K -k -R 1
diff --git a/jenkins/github/cmake.pipeline b/jenkins/github/cmake.pipeline
index c734156..4be3a16 100644
--- a/jenkins/github/cmake.pipeline
+++ b/jenkins/github/cmake.pipeline
@@ -64,9 +64,11 @@ pipeline {
mkdir cmake-build-release
cd cmake-build-release
- cmake -GNinja -DCMAKE_BUILD_TYPE:STRING=Release
-DOPENSSL_ROOT_DIR=/opt/openssl-quic ..
+ cmake -GNinja -DCMAKE_BUILD_TYPE:STRING=Release
-DOPENSSL_ROOT_DIR=/opt/openssl-quic -DCMAKE_INSTALL_PREFIX=/tmp/ats ..
cmake --build . -j4 -v
+ cmake --install .
ctest -j4 --output-on-failure --no-compress-output -T
Test
+ /tmp/ats/bin/traffic_server -K -k -R 1
'''
}
echo 'Finished cmake build'