Skip to content

Commit 5504e8c

Browse files
authored
Merge pull request #320 from xirc/revise-ci-jobs
Merge the build and test job
2 parents b66a329 + 236d294 commit 5504e8c

File tree

1 file changed

+2
-12
lines changed

1 file changed

+2
-12
lines changed

.circleci/config.yml

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -72,30 +72,23 @@ jobs:
7272
steps:
7373
- restore_source_cache
7474
- checkout
75+
- save_source_cache
7576
- restore_bazelisk_cache
7677
- restore_bazel_cache
7778
- run:
7879
name: Build All
7980
command: |
8081
cd lib
8182
bazelisk build --jobs=HOST_RAM //cpalgo/...:* //main/...:*
82-
test:
83-
executor: cpalgo
84-
steps:
85-
- restore_source_cache
86-
- checkout
87-
- restore_bazelisk_cache
88-
- restore_bazel_cache
8983
- run:
9084
name: Test All
9185
command: |
9286
cd lib
9387
bazelisk test --jobs=HOST_RAM //cpalgo/...:*
9488
- store_test_results:
9589
path: lib/bazel-testlogs/cpalgo
96-
- save_bazel_cache
9790
- save_bazelisk_cache
98-
- save_source_cache
91+
- save_bazel_cache
9992

10093
workflows:
10194
version: 2
@@ -105,8 +98,5 @@ workflows:
10598
context:
10699
- docker-hub
107100
- build:
108-
context:
109-
- docker-hub
110-
- test:
111101
context:
112102
- docker-hub

0 commit comments

Comments
 (0)