-
Notifications
You must be signed in to change notification settings - Fork 10
64 lines (57 loc) · 1.65 KB
/
bench.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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
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, X64]
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
bench-arm-macos:
runs-on: [self-hosted, macOS, ARM64]
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