File tree Expand file tree Collapse file tree 3 files changed +20
-0
lines changed
Expand file tree Collapse file tree 3 files changed +20
-0
lines changed Original file line number Diff line number Diff line change 5050DEPENDENCIES=(
5151 librmm
5252 librmm-tests
53+ librmm-example
5354 rmm
5455)
5556for DEP in " ${DEPENDENCIES[@]} " ; do
Original file line number Diff line number Diff line change @@ -38,5 +38,18 @@ rapids-logger "Run gtests"
3838export GTEST_OUTPUT=xml:${RAPIDS_TESTS_DIR} /
3939./ci/run_ctests.sh -j20 && EXITCODE=$? || EXITCODE=$? ;
4040
41+ # Run all examples from librmm-example package
42+ for example in ${CONDA_PREFIX} /bin/examples/librmm/* ; do
43+ if [ -x " $example " ]; then
44+ rapids-logger " Running example: $( basename " $example " ) "
45+ " $example " && EXAMPLE_EXITCODE=$? || EXAMPLE_EXITCODE=$? ;
46+ if [ $EXAMPLE_EXITCODE -ne 0 ]; then
47+ rapids-logger " Example $( basename " $example " ) failed with exit code: $EXAMPLE_EXITCODE "
48+ EXITCODE=$EXAMPLE_EXITCODE
49+ break
50+ fi
51+ fi
52+ done
53+
4154rapids-logger " Test script exiting with value: $EXITCODE "
4255exit " ${EXITCODE} "
Original file line number Diff line number Diff line change 3333 - test_cpp
3434 - depends_on_librmm
3535 - depends_on_librmm_tests
36+ - depends_on_librmm_example
3637 checks :
3738 output : none
3839 includes :
@@ -223,6 +224,11 @@ dependencies:
223224 - output_types : conda
224225 packages :
225226 - librmm-tests=25.4.*,>=0.0.0a0
227+ depends_on_librmm_example :
228+ common :
229+ - output_types : conda
230+ packages :
231+ - librmm-example=25.4.*,>=0.0.0a0
226232 checks :
227233 common :
228234 - output_types : [conda, requirements]
You can’t perform that action at this time.
0 commit comments