@@ -127,9 +127,10 @@ def getParallelTests(String image) {
127127 stage(' no-test Build' ) {
128128 timeout(time : 20 , unit : ' MINUTES' ) {
129129 catchError(buildResult : ' FAILURE' , stageResult : ' FAILURE' ) {
130- sh label : ' no-test Build' , script : ' cmake -B build_no_tests -D ENABLE_TESTS=OFF 2>&1 | tee no_test.log ' ;
130+ sh label : ' no-test Build' , script : ' ./etc/Build.sh -no-warnings -no-tests ' ;
131131 }
132132 }
133+ sh ' mv build/openroad_build.log no_test.log'
133134 archiveArtifacts artifacts : ' no_test.log' ;
134135 }
135136 }
@@ -176,11 +177,8 @@ def getParallelTests(String image) {
176177 sh label : ' Configure git' , script : " git config --system --add safe.directory '*'" ;
177178 checkout scm;
178179 }
179- stage(' C++ Unit Tests Setup' ) {
180- sh label : ' C++ Unit Tests Setup' , script : ' cmake -DCMAKE_C_COMPILER_LAUNCHER=ccache -DCMAKE_CXX_COMPILER_LAUNCHER=ccache -GNinja -B build .' ;
181- }
182- stage(' C++ Unit Tests' ) {
183- sh label : ' C++ Unit Tests' , script : ' cd build && CLICOLOR_FORCE=1 ninja build_and_test' ;
180+ stage(' C++ Build and Unit Tests' ) {
181+ sh label : ' C++ Build with Ninja' , script : ' ./etc/Build.sh -no-warnings -ninja' ;
184182 }
185183 }
186184 }
@@ -203,7 +201,7 @@ def getParallelTests(String image) {
203201 checkout scm;
204202 }
205203 stage(' Compile with C++20' ) {
206- sh label : ' Compile C++20' , script : " ./etc/Build.sh -no-warnings -compiler='clang-16' -cmake='-DCMAKE_BUILD_TYPE=Debug -DCMAKE_CXX_STANDARD=20' " ;
204+ sh label : ' Compile C++20' , script : " ./etc/Build.sh -cpp20 "
207205 }
208206 }
209207 }
0 commit comments