@@ -480,15 +480,53 @@ jobs:
480
480
paths :
481
481
- ./build
482
482
483
- tests.examples :
483
+ tests.examples1 :
484
484
<< : *defaults
485
485
steps :
486
486
- attach_workspace :
487
487
at : /hpx
488
488
- run :
489
- name : Building Examples
489
+ name : Building Examples (1)
490
490
command : |
491
- ninja -j2 -k 0 examples
491
+ ninja -j2 -k 0 \
492
+ `grep -v -e ^# -e ^$ /hpx/source/.circleci/tests.examples1.targets`
493
+ - run :
494
+ name : Running Example Tests
495
+ when : always
496
+ command : |
497
+ ulimit -c unlimited
498
+ ctest \
499
+ --timeout 180 \
500
+ -T test \
501
+ --no-compress-output \
502
+ --output-on-failure \
503
+ --tests-regex \
504
+ `grep -v -e ^# -e ^$ /hpx/source/.circleci/tests.examples1.targets | sed ':b;N;$!bb;s/\n/|/g'`
505
+ - run :
506
+ << : *convert_xml
507
+ - run :
508
+ << : *move_core_dump
509
+ - run :
510
+ << : *move_debug_log
511
+ - store_test_results :
512
+ path : tests.examples1
513
+ - store_artifacts :
514
+ path : tests.examples1
515
+ - persist_to_workspace :
516
+ root : /hpx
517
+ paths :
518
+ - ./build
519
+
520
+ tests.examples2 :
521
+ << : *defaults
522
+ steps :
523
+ - attach_workspace :
524
+ at : /hpx
525
+ - run :
526
+ name : Building Examples (2)
527
+ command : |
528
+ ninja -j2 -k 0 \
529
+ `grep -v -e ^# -e ^$ /hpx/source/.circleci/tests.examples2.targets`
492
530
- run :
493
531
name : Running Example Tests
494
532
when : always
@@ -497,19 +535,25 @@ jobs:
497
535
# NOTE: transpose_block_numa is disabled because
498
536
# hwloc_get_area_membind_nodeset (which is used by the
499
537
# numa_allocator) fails with EPERM.
500
- ctest --timeout 60 -T test --no-compress-output --output-on-failure \
501
- -R tests.examples \
502
- -E tests.examples.transpose.transpose_block_numa
538
+ ctest \
539
+ --timeout 180 \
540
+ -T test \
541
+ --no-compress-output \
542
+ --output-on-failure \
543
+ --tests-regex \
544
+ `grep -v -e ^# -e ^$ /hpx/source/.circleci/tests.examples2.targets | sed ':b;N;$!bb;s/\n/|/g'` \
545
+ --exclude-regex \
546
+ tests.examples.transpose.transpose_block_numa
503
547
- run :
504
548
<< : *convert_xml
505
549
- run :
506
550
<< : *move_core_dump
507
551
- run :
508
552
<< : *move_debug_log
509
553
- store_test_results :
510
- path : tests.examples
554
+ path : tests.examples2
511
555
- store_artifacts :
512
- path : tests.examples
556
+ path : tests.examples2
513
557
- persist_to_workspace :
514
558
root : /hpx
515
559
paths :
@@ -1210,7 +1254,9 @@ workflows:
1210
1254
requires :
1211
1255
- configure
1212
1256
<< : *gh_pages_filter
1213
- - tests.examples :
1257
+ - tests.examples1 :
1258
+ << : *core_dependency
1259
+ - tests.examples2 :
1214
1260
<< : *core_dependency
1215
1261
- tests.unit1.algorithms :
1216
1262
<< : *core_dependency
@@ -1255,7 +1301,8 @@ workflows:
1255
1301
- configure
1256
1302
# Force docs to be built after examples so that workspace doesn't
1257
1303
# have conflicts
1258
- - tests.examples
1304
+ - tests.examples1
1305
+ - tests.examples2
1259
1306
<< : *gh_pages_filter
1260
1307
- depreport :
1261
1308
requires :
@@ -1266,14 +1313,16 @@ workflows:
1266
1313
- configure
1267
1314
# Force docs to be built after examples so that workspace doesn't
1268
1315
# have conflicts
1269
- - tests.examples
1316
+ - tests.examples1
1317
+ - tests.examples2
1270
1318
<< : *additional_docs_filter
1271
1319
- docs-latexpdf :
1272
1320
requires :
1273
1321
- configure
1274
1322
# Force docs to be built after examples so that workspace doesn't
1275
1323
# have conflicts
1276
- - tests.examples
1324
+ - tests.examples1
1325
+ - tests.examples2
1277
1326
<< : *additional_docs_filter
1278
1327
- docs_push :
1279
1328
requires :
@@ -1285,7 +1334,8 @@ workflows:
1285
1334
- install :
1286
1335
requires :
1287
1336
- core
1288
- - tests.examples
1337
+ - tests.examples1
1338
+ - tests.examples2
1289
1339
- tests.unit1.algorithms
1290
1340
- tests.unit2.algorithms
1291
1341
- tests.unit3.algorithms
0 commit comments