fix angleToMatchLengthXY #2038
Workflow file for this run
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: | |
branches: | |
- main | |
paths: | |
- '**.rs' | |
- '**/Cargo.toml' | |
- '**/Cargo.lock' | |
- '**/rust-toolchain.toml' | |
- .github/workflows/cargo-criterion.yml | |
pull_request: | |
paths: | |
- '**.rs' | |
- '**/Cargo.toml' | |
- '**/Cargo.lock' | |
- '**/rust-toolchain.toml' | |
- .github/workflows/cargo-criterion.yml | |
workflow_dispatch: | |
permissions: read-all | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} | |
cancel-in-progress: true | |
name: cargo criterion | |
jobs: | |
cargocriterion: | |
name: cargo criterion | |
runs-on: ubuntu-latest-8-cores | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: dtolnay/rust-toolchain@stable | |
- name: Install dependencies | |
run: | | |
cargo install cargo-criterion | |
- name: Rust Cache | |
uses: Swatinem/[email protected] | |
- name: Benchmark kcl library | |
shell: bash | |
run: |- | |
cd src/wasm-lib/kcl; cargo criterion | |