更新统计埋点

This commit is contained in:
桥下红药
2026-01-18 15:16:17 +08:00
parent 2b7542c09d
commit 60f79f7487
4 changed files with 239 additions and 14 deletions
+18
View File
@@ -88,6 +88,24 @@ jobs:
path: target
key: ${{ runner.os }}-${{ matrix.target }}-cargo-target-${{ hashFiles('**/Cargo.lock') }}
- name: Run tests
run: |
if [ "${{ matrix.use_cross }}" = "true" ]; then
cross test --target ${{ matrix.target }} --verbose
else
cargo test --target ${{ matrix.target }} --verbose
fi
shell: bash
- name: Run tests with features
run: |
if [ "${{ matrix.use_cross }}" = "true" ]; then
cross test --target ${{ matrix.target }} --verbose --features metrics,mimalloc
else
cargo test --target ${{ matrix.target }} --verbose --features metrics,mimalloc
fi
shell: bash
- name: Build
run: |
if [ "${{ matrix.use_cross }}" = "true" ]; then
+2
View File
@@ -53,6 +53,8 @@ jobs:
features:
- ""
- "mimalloc"
- "metrics"
- "mimalloc,metrics"
steps:
- uses: actions/checkout@v4
- name: Install Rust