-
Notifications
You must be signed in to change notification settings - Fork 2
48 lines (44 loc) · 1.13 KB
/
lha_bot_rust.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
# A single CI script with github workflow.
name: LHA Benchmarks (Rust)
on:
push:
branches-ignore:
- "*"
tags:
pull_request:
types:
- closed
- ready_for_review
- review_requested
workflow_dispatch:
jobs:
lhabench:
name: LHA paper Benchmarks
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.12"]
fail-fast: false
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }} 🐍
id: setup-python
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install and configure Poetry
uses: snok/install-poetry@v1
with:
virtualenvs-create: false
installer-parallel: true
- name: Install project
run: |
poetry install --no-interaction --with test -E mark -E box
- name: Install task runner
run: pip install poethepoet
- name: Run benchmark
run: |
./rustify.sh
poe compile
poe lha -m "nnlo and sv"
poe lha -m "ffns_pol and sv"