diff --git a/.github/workflows/test_basic.yaml b/.github/workflows/test_basic.yaml new file mode 100644 index 00000000..684cbe0f --- /dev/null +++ b/.github/workflows/test_basic.yaml @@ -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) diff --git a/.github/workflows/test_script_kyber_ntt_a55.yaml b/.github/workflows/test_script_kyber_ntt_a55.yaml new file mode 100644 index 00000000..6597099c --- /dev/null +++ b/.github/workflows/test_script_kyber_ntt_a55.yaml @@ -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) diff --git a/.github/workflows/test_script_ntt_helium.yaml b/.github/workflows/test_script_ntt_helium.yaml new file mode 100644 index 00000000..5a1d1160 --- /dev/null +++ b/.github/workflows/test_script_ntt_helium.yaml @@ -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)