This repository was archived by the owner on Apr 4, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +15
-6
lines changed Expand file tree Collapse file tree 1 file changed +15
-6
lines changed Original file line number Diff line number Diff line change 38
38
steps :
39
39
- checkout :
40
40
<< : *post_checkout
41
+
41
42
# Enforce that BUILD files are formatted. Note that this uses the version of buildifier
42
43
# from the docker image above - take care that you use the same version when you run
43
44
# buildifier locally on your change.
50
51
- checkout :
51
52
<< : *post_checkout
52
53
53
- - restore_cache :
54
- key : *cache_key
55
-
56
54
- run : sudo cp .circleci/bazel.rc /etc/bazel.bazelrc
57
55
58
56
# Helpful for debugging, so you can check you have the same bazel version when you need
62
60
# Build and Test
63
61
- run : bazel test //...
64
62
65
- # Run the benchmark
66
- - run : node_modules/.bin/ibazel-benchmark-runner //src:devserver src/hello-world/hello-world.component.ts --url=http://localhost:5432
67
-
68
63
- store_artifacts :
69
64
path : dist/bin/src/bundle.min.js
70
65
destination : bundle.min.js
73
68
path : dist/bin/src/bundle.cs.min
74
69
destination : bundle.cs.min
75
70
71
+ benchmark :
72
+ << : *job_defaults
73
+ steps :
74
+ - checkout :
75
+ << : *post_checkout
76
+
77
+ - restore_cache :
78
+ key : *cache_key
79
+
80
+ # Run the benchmark
81
+ - run : yarn
82
+ - run : node_modules/.bin/ibazel-benchmark-runner //src:devserver src/hello-world/hello-world.component.ts --url=http://localhost:5432
83
+
76
84
# If we get this far, save the node_modules directory for use next time.
77
85
- save_cache :
78
86
key : *cache_key
@@ -85,3 +93,4 @@ workflows:
85
93
jobs :
86
94
- lint
87
95
- build
96
+ - benchmark
You can’t perform that action at this time.
0 commit comments