优化引入和文档
This commit is contained in:
@@ -109,9 +109,9 @@ jobs:
|
||||
- name: Build
|
||||
run: |
|
||||
if [ "${{ matrix.use_cross }}" = "true" ]; then
|
||||
cross build --release --target ${{ matrix.target }} --examples --features mimalloc
|
||||
cross build --release --target ${{ matrix.target }} --examples --features mimalloc,metrics
|
||||
else
|
||||
cargo build --release --target ${{ matrix.target }} --examples --features mimalloc
|
||||
cargo build --release --target ${{ matrix.target }} --examples --features mimalloc,metrics
|
||||
fi
|
||||
shell: bash
|
||||
|
||||
|
||||
@@ -42,6 +42,10 @@ jobs:
|
||||
run: cargo build --examples --verbose
|
||||
- name: Build examples with mimalloc
|
||||
run: cargo build --examples --verbose --features mimalloc
|
||||
- name: Build examples with metrics
|
||||
run: cargo build --examples --verbose --features metrics
|
||||
- name: Build examples with all features
|
||||
run: cargo build --examples --verbose --features mimalloc,metrics
|
||||
|
||||
# 测试不同的 feature 组合
|
||||
test-features:
|
||||
|
||||
Reference in New Issue
Block a user