Skip to content

Commit

Permalink
Add CI
Browse files Browse the repository at this point in the history
  • Loading branch information
mkannwischer authored and hanno-becker committed Mar 15, 2024
1 parent 51f3fde commit 5322279
Show file tree
Hide file tree
Showing 3 changed files with 73 additions and 0 deletions.
39 changes: 39 additions & 0 deletions .github/workflows/test_basic.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: Regression tests
on:
pull_request:
branches: [ "main" ]
types: [ labeled ]
jobs:
dry_run:
if: ${{ github.event.label.name == 'needs-ci' }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install python dependencies
run: |
python -m pip install -r requirements.txt
- name: Run examples
run: |
python3 example.py --dry-run
sqmag:
if: ${{ github.event.label.name == 'needs-ci' }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install python dependencies
run: |
python -m pip install -r requirements.txt
- name: Run examples
run: |
(cd paper/scripts && NO_LOG=Y ./slothy_sqmag.sh)
fft:
if: ${{ github.event.label.name == 'needs-ci' }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install python dependencies
run: |
python -m pip install -r requirements.txt
- name: Run examples
run: |
(cd paper/scripts && NO_LOG=Y ./slothy_fft.sh)
17 changes: 17 additions & 0 deletions .github/workflows/test_script_kyber_ntt_a55.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Kyber NTT Cortex-A55
on:
pull_request:
branches: [ "main" ]
types: [ labeled ]
jobs:
build_test:
if: ${{ github.event.label.name == 'needs-ci' }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install python dependencies
run: |
python -m pip install -r requirements.txt
- name: Run examples
run: |
(cd paper/scripts && NO_LOG=Y ./slothy_kyber_ntt_a55.sh)
17 changes: 17 additions & 0 deletions .github/workflows/test_script_ntt_helium.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Helium NTT
on:
pull_request:
branches: [ "main" ]
types: [ labeled ]
jobs:
build_test:
if: ${{ github.event.label.name == 'needs-ci' }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install python dependencies
run: |
python -m pip install -r requirements.txt
- name: Run examples
run: |
(cd paper/scripts && NO_LOG=Y ./slothy_ntt_helium.sh)

0 comments on commit 5322279

Please sign in to comment.