-
Notifications
You must be signed in to change notification settings - Fork 3
executable file
·34 lines (31 loc) · 1008 Bytes
/
test.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
on: [push, pull_request]
name: Test
jobs:
check:
name: Check
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
- name: Test VM
uses: actions-rs/cargo@v1
with:
command: test
args: --manifest-path crates/dash_vm/Cargo.toml # no --all-features because jit
- name: Benchmark VM
run: eval $(cargo test --release --benches -p dash_vm |& grep -o -P 'target/release/deps/full-[^\)]+') --bench --output-format bencher | tee output.txt
- name: Store output
if: github.ref == 'refs/heads/master'
uses: benchmark-action/[email protected]
with:
name: Benchmarks
tool: "cargo"
output-file-path: output.txt
github-token: ${{ secrets.GITHUB_TOKEN }}
auto-push: true