mirror of
https://github.com/bytedance/g3.git
synced 2026-04-28 11:40:54 +00:00
do feature check in CI for each component seperately
This commit is contained in:
parent
4a123591d1
commit
d696016ca7
2 changed files with 18 additions and 4 deletions
11
.github/workflows/linux.yml
vendored
11
.github/workflows/linux.yml
vendored
|
|
@ -58,6 +58,13 @@ jobs:
|
|||
- vendored-tongsuo
|
||||
- vendored-aws-lc
|
||||
- vendored-c-ares
|
||||
component:
|
||||
- g3proxy
|
||||
- g3bench
|
||||
- g3tiles
|
||||
- g3fcgen
|
||||
- g3mkcert
|
||||
- g3keymess
|
||||
steps:
|
||||
- name: Checkout sources
|
||||
uses: actions/checkout@v4
|
||||
|
|
@ -70,6 +77,6 @@ jobs:
|
|||
sudo apt-get update
|
||||
sudo apt-get install capnproto libc-ares-dev libssl-dev liblua5.4-dev
|
||||
- name: Cargo build
|
||||
run: cargo build --no-default-features --features ${{ matrix.feature }}
|
||||
run: cargo build --no-default-features --features ${{ matrix.feature }} -p ${{ matrix.component }}
|
||||
- name: Cargo clippy
|
||||
run: cargo clippy --no-default-features --features ${{ matrix.feature }} -- --deny warnings
|
||||
run: cargo clippy --no-default-features --features ${{ matrix.feature }} -p ${{ matrix.component }} -- --deny warnings
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue