-
-
Notifications
You must be signed in to change notification settings - Fork 248
35 lines (32 loc) · 980 Bytes
/
benchmark.yml
File metadata and controls
35 lines (32 loc) · 980 Bytes
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
name: Benchmark this PR
on:
pull_request:
branches: [master]
paths-ignore: ['docs/**']
permissions:
pull-requests: write
contents: read
jobs:
benchmark:
runs-on: ubuntu-latest
timeout-minutes: 30
strategy:
fail-fast: false
matrix:
version: ["1", "lts"]
env:
# Force consistent Julia depot path for self-hosted runners
JULIA_DEPOT_PATH: ~/.julia
steps:
# Clean stale AirspeedVelocity installation to avoid path issues
- name: Clean AirspeedVelocity cache
run: |
rm -rf ~/.julia/bin/benchpkg* ~/.julia/bin/asvjl* || true
rm -rf ~/.julia/packages/AirspeedVelocity || true
rm -rf ~/.julia/compiled/*/AirspeedVelocity || true
- uses: MilesCranmer/AirspeedVelocity.jl@action-v1
with:
julia-version: ${{ matrix.version }}
script: "benchmark/benchmarks.jl"
extra-pkgs: "StableRNGs,StaticArrays"
job-summary: true