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 68382a9 pr builds: use ubuntu:20.04 with clang-12 (#257) 68382a9 is described below commit 68382a9139fc845d7919b587eae60dfaa5458d5c Author: Brian Neradt <brian.ner...@gmail.com> AuthorDate: Tue Oct 24 12:47:54 2023 -0500 pr builds: use ubuntu:20.04 with clang-12 (#257) We decided this is what we'll support. --- jenkins/github/ubuntu.pipeline | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/jenkins/github/ubuntu.pipeline b/jenkins/github/ubuntu.pipeline index 219621d..5f85d38 100644 --- a/jenkins/github/ubuntu.pipeline +++ b/jenkins/github/ubuntu.pipeline @@ -1,7 +1,7 @@ pipeline { agent { docker { - image 'ci.trafficserver.apache.org/ats/ubuntu:23.04' + image 'ci.trafficserver.apache.org/ats/ubuntu:20.04' registryUrl 'https://ci.trafficserver.apache.org/' label 'docker' args '-v ${HOME}/ccache:/tmp/ccache:rw' @@ -51,12 +51,13 @@ pipeline { if [ -d cmake ] then + # Ensure that we pick up clang-12. + export PATH=/opt/bin:/usr/lib/llvm-12/bin:$PATH + export CC="clang" export CXX="clang++" - # We don't use c++20 features yet, but we want to make - # sure we can build with the flag set. - cmake -B build --preset ci -DCMAKE_CXX_STANDARD=20 + cmake -B build --preset ci cmake --build build -v cmake --install build pushd build