Skip to content

Commit

Permalink
Merge 363aab5 into d59e184
Browse files Browse the repository at this point in the history
  • Loading branch information
wcampbell0x2a authored Aug 29, 2023
2 parents d59e184 + 363aab5 commit 735dda3
Show file tree
Hide file tree
Showing 10 changed files with 313 additions and 246 deletions.
20 changes: 2 additions & 18 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
toolchain:
- stable
# msrv
- 1.65.0
- 1.66.0
features:
# default features
-
Expand All @@ -51,7 +51,7 @@ jobs:
toolchain:
- stable
# msrv
- 1.65.0
- 1.66.0
features:
- --no-default-features --features xz
- --no-default-features --features gzip
Expand All @@ -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 735dda3

Please sign in to comment.