File tree Expand file tree Collapse file tree 1 file changed +18
-0
lines changed Expand file tree Collapse file tree 1 file changed +18
-0
lines changed Original file line number Diff line number Diff line change @@ -131,6 +131,23 @@ function gg_sum_ctest_release {
131
131
gg_printf ' ```\n'
132
132
}
133
133
134
+ function gg_run_ctest_with_model {
135
+ cd ${SRC}
136
+ set -e
137
+ (time ctest --output-on-failure -L model) 2>&1 | tee -a $OUT /${ci} -ctest_with_model.log
138
+ set +e
139
+ }
140
+
141
+ function gg_sum_ctest_with_model {
142
+ gg_printf ' ### %s\n\n' " ${ci} "
143
+
144
+ gg_printf ' Runs ctest with model files\n'
145
+ gg_printf ' - status: %s\n' " $( cat $OUT /${ci} .exit) "
146
+ gg_printf ' ```\n'
147
+ gg_printf ' %s\n' " $( cat $OUT /${ci} -ctest_with_model.log) "
148
+ gg_printf ' ```\n'
149
+ }
150
+
134
151
# open_llama_3b_v2
135
152
136
153
function gg_run_open_llama_3b_v2 {
@@ -508,6 +525,7 @@ if [ -z ${GG_BUILD_LOW_PERF} ]; then
508
525
else
509
526
test $ret -eq 0 && gg_run open_llama_7b_v2
510
527
fi
528
+ test $ret -eq 0 && gg_run ctest_with_model
511
529
fi
512
530
fi
513
531
You can’t perform that action at this time.
0 commit comments