Skip to content

Commit

Permalink
make sure the benchmark scripts continue to work
Browse files Browse the repository at this point in the history
Signed-off-by: Hubert Kario <hkario@redhat.com>
  • Loading branch information
tomato42 committed Jul 23, 2024
1 parent ffb428d commit 7811a63
Showing 1 changed file with 54 additions and 0 deletions.
54 changes: 54 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,60 @@ on:
pull_request:

jobs:
benchmark-kyber:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 10
- name: Verify git status
run: |
git status
git remote -v
- name: Set up Python 3.12
uses: actions/setup-python@v5
with:
python-version: "3.12"
- name: Display Python version
run: python -c "import sys; print(sys.version)"
- name: Display installed python package versions
run: |
pip list || :
- name: Install build dependencies
run: |
pip install -r requirements.txt
- name: Display installed python package versions
run: |
pip list || :
- name: Run kyber benchmark
run: PYTHONPATH=src python benchmarks/benchmark_kyber.py
benchmark-ml-kem:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 10
- name: Verify git status
run: |
git status
git remote -v
- name: Set up Python 3.12
uses: actions/setup-python@v5
with:
python-version: "3.12"
- name: Display Python version
run: python -c "import sys; print(sys.version)"
- name: Display installed python package versions
run: |
pip list || :
- name: Install build dependencies
run: |
pip install -r requirements.txt
- name: Display installed python package versions
run: |
pip list || :
- name: Run ML-KEM benchmark
run: PYTHONPATH=src python benchmarks/benchmark_ml_kem.py
docs-check:
runs-on: ubuntu-latest
steps:
Expand Down

0 comments on commit 7811a63

Please sign in to comment.