Skip to content

Commit

Permalink
add CI config
Browse files Browse the repository at this point in the history
  • Loading branch information
arlyon committed Apr 16, 2024
1 parent 778aee9 commit 55e8a5a
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/next_swc_bench.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: next_swc Benchmark

# Configure Manual Trigger
on:
workflow_dispatch:

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout
- name: Install iai-callgrind
uses: taiki-e/install-action@v2
with:
tool: iai-callgrind-runner
- name: Run bench
run: cargo bench --manifest-path $GITHUB_WORKSPACE/packages/next-swc/crates/next-build-test/Cargo.toml
- name: Upload reports
uses: actions/upload-artifact@v4
with:
name: code-coverage-report
path: output/test/code-coverage.html

0 comments on commit 55e8a5a

Please sign in to comment.