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 fd87152 cmake: preset ci-debian now runs hardening. (#240)
fd87152 is described below
commit fd87152fe3cd5366a9f5dd56e6b2111e451bcff4
Author: Brian Neradt <[email protected]>
AuthorDate: Tue Oct 17 10:17:58 2023 -0500
cmake: preset ci-debian now runs hardening. (#240)
Switch debian to cmake since there is a preset which applies hardening
flags.
---
jenkins/github/debian.pipeline | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/jenkins/github/debian.pipeline b/jenkins/github/debian.pipeline
index 99ece33..b6a2fd7 100644
--- a/jenkins/github/debian.pipeline
+++ b/jenkins/github/debian.pipeline
@@ -47,10 +47,9 @@ pipeline {
sh '''#!/bin/bash
set -x
set -e
- # `1 -eq 0 -a`: Always run autotools until
-DENABLE_HARDENING=ON is implemented.
- if [ 1 -eq 0 -a -d cmake ]
+ if [ -d cmake ]
then
- cmake -B cmake-build-release --preset ci
-DOPENSSL_ROOT_DIR=/opt/openssl-quic -DENABLE_HARDENING=ON
+ cmake -B cmake-build-release --preset ci-debian
-DOPENSSL_ROOT_DIR=/opt/openssl-quic
cmake --build cmake-build-release -v
cmake --install cmake-build-release
pushd cmake-build-release