Get WebGPU integration testing working again #673
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
name: Benchmarks | |
on: | |
push: | |
branches: [ "main" ] | |
pull_request: | |
branches: [ "main" ] | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
bench: | |
runs-on: [self-hosted, linux, X64] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Build Alan | |
run: cargo build --verbose | |
- name: Rust-managed Benchmarks | |
run: cargo bench | |
- name: Build Alan-managed Benchmarks | |
run: cargo run -- compile alan/benches/bench.ln && cargo run -- compile alan/benches/buffer_shader_timings.ln | |
- name: Alan-managed Benchmarks | |
run: ./bench && ./buffer_shader_timings | |
bench-windows: | |
runs-on: [self-hosted, windows] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Build Alan | |
run: cargo build --verbose | |
- name: Rust-managed Benchmarks | |
run: cargo bench | |
bench-macos: | |
runs-on: [self-hosted, macOS] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Build Alan | |
run: cargo build --verbose | |
- name: Rust-managed Benchmarks | |
run: cargo bench | |
bench-arm-linux: | |
runs-on: [self-hosted, linux, ARM64] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Build Alan | |
run: cargo build --verbose | |
- name: Rust-managed Benchmarks | |
run: cargo bench |