Rustify ad.p.s.{as1,as2} #315
Workflow file for this run
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
# A single CI script with github workflow. | |
name: LHA Benchmarks | |
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 | |
container: | |
image: ghcr.io/nnpdf/bench-evol:v2 | |
credentials: | |
username: ${{ github.repository_owner }} | |
password: ${{ secrets.GITHUB_TOKEN }} | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
# tags needed for dynamic versioning | |
fetch-depth: 0 | |
- 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: | | |
poe lha -m "nnlo and sv" | |
poe lha -m "ffns_pol and sv" |