-
Notifications
You must be signed in to change notification settings - Fork 1
37 lines (37 loc) · 881 Bytes
/
bench.yaml
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
name: bench
on:
push:
branches:
- main
pull_request:
concurrency:
group: bench-${{ github.ref }}
cancel-in-progress: true
jobs:
interpret:
strategy:
fail-fast: false
matrix:
os:
- ubuntu-latest
- macos-14
interpreter:
- stak-interpret
- mstak-interpret
exclude:
- os: ${{ github.ref == 'refs/heads/main' && 'none' || 'macos-14' }}
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: ./tools/ci/github/setup
- uses: actions/setup-python@v5
with:
python-version: "3.12"
- run: tools/bench.sh -i ${{ matrix.interpreter }}
bench:
needs:
- interpret
if: always()
runs-on: ubuntu-latest
steps:
- run: for result in ${{ join(needs.*.result, ' ') }}; do [ $result = success ]; done