Skip to content

Commit

Permalink
Merge 03926e3 into d59e184
Browse files Browse the repository at this point in the history
  • Loading branch information
wcampbell0x2a authored Aug 18, 2023
2 parents d59e184 + 03926e3 commit 1cdc4f1
Show file tree
Hide file tree
Showing 8 changed files with 298 additions and 232 deletions.
16 changes: 0 additions & 16 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,22 +68,6 @@ jobs:
toolchain: ${{ matrix.toolchain }}
- run: RUST_LOG=info cargo test --release ${{ matrix.features }} --locked --features __test_unsquashfs


# benchmark
benchmark:
runs-on: ubuntu-latest
strategy:
matrix:
toolchain:
- stable

steps:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@master
with:
toolchain: ${{ matrix.toolchain }}
- run: cargo bench

# fmt and clippy on stable
fmt-clippy-stable:
runs-on: ubuntu-latest
Expand Down
16 changes: 16 additions & 0 deletions .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
on: [pull_request]
name: CI Pull Request
jobs:
runBenchmark:
name: Benchmark
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: dtolnay/rust-toolchain@stable
- uses: boa-dev/criterion-compare-action@v3
with:
benchName: "benchmark"
branchName: ${{ github.base_ref }}
token: ${{ secrets.GITHUB_TOKEN }}
Loading

0 comments on commit 1cdc4f1

Please sign in to comment.