Skip to content

Commit e1ba6f8

Browse files
committed
Add check-all command
Add convenient helper make function and use it in CI Signed-off-by: James Sturtevant <jstur@microsoft.com>
1 parent b673542 commit e1ba6f8

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

.github/workflows/bvt.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,7 @@ jobs:
1212
uses: actions/checkout@v3
1313
- name: Check
1414
run: |
15-
make check
16-
make -C compiler check
17-
make -C ttrpc-codegen check
15+
make check-all
1816
1917
make:
2018
name: Build

Makefile

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,3 +32,9 @@ endif
3232
check:
3333
cargo fmt --all -- --check
3434
cargo clippy --all-targets --all-features -- -D warnings
35+
36+
.PHONY: check-all
37+
check-all:
38+
$(MAKE) check
39+
$(MAKE) -C compiler check
40+
$(MAKE) -C ttrpc-codegen check

0 commit comments

Comments
 (0)