implement new.target
and fix some [[Construct]] related bugs
#842
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: [push, pull_request] | |
name: Test | |
jobs: | |
check: | |
name: Check | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Test VM | |
run: cargo t -p dash_vm # no --all-features because jit | |
- name: Test lints | |
run: cargo t -p lints | |
- name: Lints | |
run: ./lints.sh | |
- 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 |