@@ -583,7 +583,7 @@ defaults:
583
583
project : uniswap
584
584
binary_type : native
585
585
nodejs_version : ' 16'
586
- - job_native_test_prb_math : &job_native_test_prb_math
586
+ - job_native_test_ext_prb_math : &job_native_test_ext_prb_math
587
587
<< : *workflow_ubuntu2004_static
588
588
name : t_native_test_ext_prb_math
589
589
project : prb-math
@@ -1206,8 +1206,34 @@ jobs:
1206
1206
name : External <<parameters.project>> tests (native)
1207
1207
command : |
1208
1208
test/externalTests/<<parameters.project>>.sh native /tmp/workspace/solc/solc
1209
+ - store_artifacts :
1210
+ path : reports/externalTests/
1211
+ # persist_to_workspace fails if the directory does not exist and the test script will create
1212
+ # it only if it actually has benchmark results.
1213
+ - run : mkdir -p reports/externalTests/
1214
+ - persist_to_workspace :
1215
+ root : .
1216
+ paths :
1217
+ - reports/externalTests/
1209
1218
- gitter_notify_failure_unless_pr
1210
1219
1220
+ c_ext_benchmarks :
1221
+ << : *base_node_small
1222
+ steps :
1223
+ - checkout
1224
+ - attach_workspace :
1225
+ at : .
1226
+ - run :
1227
+ name : Combine benchmark reports
1228
+ command : cat reports/externalTests/benchmark-*.json | scripts/externalTests/merge_benchmarks.sh > reports/externalTests/all-benchmarks.json
1229
+ - run :
1230
+ name : Summarize reports
1231
+ command : cat reports/externalTests/all-benchmarks.json | scripts/externalTests/summarize_benchmarks.sh > reports/externalTests/summarized-benchmarks.json
1232
+ - store_artifacts :
1233
+ path : reports/externalTests/all-benchmarks.json
1234
+ - store_artifacts :
1235
+ path : reports/externalTests/summarized-benchmarks.json
1236
+
1211
1237
b_win : &b_win
1212
1238
<< : *base_win_powershell_large
1213
1239
steps :
@@ -1455,9 +1481,27 @@ workflows:
1455
1481
- t_ems_ext : *job_native_test_ext_pool_together
1456
1482
- t_ems_ext : *job_native_test_ext_perpetual_pools
1457
1483
- t_ems_ext : *job_native_test_ext_uniswap
1458
- - t_ems_ext : *job_native_test_prb_math
1484
+ - t_ems_ext : *job_native_test_ext_prb_math
1459
1485
- t_ems_ext : *job_native_test_ext_elementfi
1460
1486
1487
+ - c_ext_benchmarks :
1488
+ << : *workflow_trigger_on_tags
1489
+ requires :
1490
+ - t_ems_compile_ext_colony
1491
+ - t_native_compile_ext_gnosis
1492
+ - t_native_test_ext_gnosis_v2
1493
+ - t_native_test_ext_zeppelin
1494
+ - t_native_test_ext_ens
1495
+ - t_native_test_ext_trident
1496
+ - t_native_test_ext_euler
1497
+ - t_native_test_ext_yield_liquidator
1498
+ - t_native_test_ext_bleeps
1499
+ - t_native_test_ext_pool_together
1500
+ - t_native_test_ext_perpetual_pools
1501
+ - t_native_test_ext_uniswap
1502
+ - t_native_test_ext_prb_math
1503
+ - t_native_test_ext_elementfi
1504
+
1461
1505
# Windows build and tests
1462
1506
- b_win : *workflow_trigger_on_tags
1463
1507
- b_win_release : *workflow_trigger_on_tags
0 commit comments