-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
mlkem768: add throwaway workflow file for temporary CI (to be deleted…
… when PR to libjade main) -- for quick feedback
- Loading branch information
1 parent
c55f464
commit 9dc07ca
Showing
1 changed file
with
113 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,113 @@ | ||
name: amd64-linux-hakyber-mlkem | ||
|
||
on: | ||
workflow_dispatch: | ||
push: | ||
branches: | ||
- feature/hakyber_mlkem | ||
pull_request: | ||
|
||
jobs: | ||
|
||
|
||
|
||
compile: | ||
runs-on: [self-hosted, linux, X64, amd64-main] | ||
steps: | ||
- name: checkout | ||
uses: actions/checkout@v3 | ||
|
||
- name: compile | ||
run: JASMIN=$(which_jasminc) make -j$JOBS -C src/ CI=1 FILTER=crypto_kem/mlkem/% default | ||
- name: print logs | ||
run: JASMIN=$(which_jasminc) make -C src/ CI=1 FILTER=crypto_kem/mlkem/% reporter | ||
- name: return error if there are any errors | ||
run: make -C src/ CI=1 FILTER=crypto_kem/mlkem/% err | ||
|
||
- name: libjade-logs-src.tar.gz - contains non-empty logs and errors | ||
if: always() | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: libjade-logs-src.tar.gz | ||
path: src/libjade-logs-src.tar.gz | ||
|
||
|
||
|
||
test: | ||
needs: [compile] | ||
runs-on: [self-hosted, linux, X64, amd64-main] | ||
steps: | ||
- name: checkout | ||
uses: actions/checkout@v3 | ||
|
||
- name: compile and run | ||
run: JASMIN=$(which_jasminc) make -j$JOBS -C test/ CI=1 FILTER=crypto_kem/mlkem/% default | ||
- name: print logs | ||
run: JASMIN=$(which_jasminc) make -C test/ CI=1 FILTER=crypto_kem/mlkem/% reporter | ||
- name: return error if there are any errors | ||
run: make -C test/ CI=1 FILTER=crypto_kem/mlkem/% err | ||
|
||
- name: libjade-logs-test.tar.gz - contains non-empty logs and errors | ||
if: always() | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: libjade-logs-test.tar.gz | ||
path: test/libjade-logs-test.tar.gz | ||
|
||
|
||
|
||
bench1: | ||
needs: [compile] | ||
runs-on: [self-hosted, linux, X64, amd64-main] | ||
steps: | ||
- name: checkout | ||
uses: actions/checkout@v3 | ||
|
||
- name: compile | ||
run: JASMIN=$(which_jasminc) make -j$JOBS -C src/ CI=1 FILTER=crypto_kem/mlkem/% default | ||
|
||
- name: run | ||
run: JASMIN=$(which_jasminc) make -j$JOBS -C bench/ CI=1 FILTER=crypto_kem/mlkem/% DEFINE='-DTIMINGS=10' run | ||
|
||
- name: print logs | ||
run: JASMIN=$(which_jasminc) make -C bench/ CI=1 FILTER=crypto_kem/mlkem/% reporter | ||
|
||
- name: return error if there are any errors | ||
run: make -C bench/ CI=1 FILTER=crypto_kem/mlkem/% err | ||
|
||
- name: libjade-logs-bench.tar.gz - contains non-empty logs and errors | ||
if: always() | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: libjade-logs-bench1.tar.gz | ||
path: bench/libjade-logs-bench.tar.gz | ||
|
||
|
||
|
||
bench2: | ||
needs: [compile] | ||
runs-on: [self-hosted, linux, X64, amd64-main] | ||
steps: | ||
- name: checkout | ||
uses: actions/checkout@v3 | ||
|
||
- name: compile | ||
run: JASMIN=$(which_jasminc) make -j$JOBS -C src/ CI=1 FILTER=crypto_kem/mlkem/% default | ||
|
||
- name: run | ||
run: JASMIN=$(which_jasminc) make -j$JOBS -C bench/ CI=1 FILTER=crypto_kem/mlkem/% run DEFINE='-DTIMINGS=10 -DRUNS=2 -DST_ON' RANDINC='../test/common/' RANDLIB='../test/common/notrandombytes.c'; | ||
|
||
- name: print logs | ||
run: JASMIN=$(which_jasminc) make -C bench/ CI=1 FILTER=crypto_kem/mlkem/% reporter | ||
|
||
- name: return error if there are any errors | ||
run: make -C bench/ CI=1 FILTER=crypto_kem/mlkem/% err | ||
|
||
- name: libjade-logs-bench.tar.gz - contains non-empty logs and errors | ||
if: always() | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: libjade-logs-bench2.tar.gz | ||
path: bench/libjade-logs-bench.tar.gz | ||
|
||
|