Skip to content

Commit 9dc07ca

Browse files
committed
mlkem768: add throwaway workflow file for temporary CI (to be deleted when PR to libjade main) -- for quick feedback
1 parent c55f464 commit 9dc07ca

File tree

1 file changed

+113
-0
lines changed

1 file changed

+113
-0
lines changed

Diff for: .github/workflows/amd64-linux-hakyber-mlkem.yml

+113
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,113 @@
1+
name: amd64-linux-hakyber-mlkem
2+
3+
on:
4+
workflow_dispatch:
5+
push:
6+
branches:
7+
- feature/hakyber_mlkem
8+
pull_request:
9+
10+
jobs:
11+
12+
13+
14+
compile:
15+
runs-on: [self-hosted, linux, X64, amd64-main]
16+
steps:
17+
- name: checkout
18+
uses: actions/checkout@v3
19+
20+
- name: compile
21+
run: JASMIN=$(which_jasminc) make -j$JOBS -C src/ CI=1 FILTER=crypto_kem/mlkem/% default
22+
- name: print logs
23+
run: JASMIN=$(which_jasminc) make -C src/ CI=1 FILTER=crypto_kem/mlkem/% reporter
24+
- name: return error if there are any errors
25+
run: make -C src/ CI=1 FILTER=crypto_kem/mlkem/% err
26+
27+
- name: libjade-logs-src.tar.gz - contains non-empty logs and errors
28+
if: always()
29+
uses: actions/upload-artifact@v3
30+
with:
31+
name: libjade-logs-src.tar.gz
32+
path: src/libjade-logs-src.tar.gz
33+
34+
35+
36+
test:
37+
needs: [compile]
38+
runs-on: [self-hosted, linux, X64, amd64-main]
39+
steps:
40+
- name: checkout
41+
uses: actions/checkout@v3
42+
43+
- name: compile and run
44+
run: JASMIN=$(which_jasminc) make -j$JOBS -C test/ CI=1 FILTER=crypto_kem/mlkem/% default
45+
- name: print logs
46+
run: JASMIN=$(which_jasminc) make -C test/ CI=1 FILTER=crypto_kem/mlkem/% reporter
47+
- name: return error if there are any errors
48+
run: make -C test/ CI=1 FILTER=crypto_kem/mlkem/% err
49+
50+
- name: libjade-logs-test.tar.gz - contains non-empty logs and errors
51+
if: always()
52+
uses: actions/upload-artifact@v3
53+
with:
54+
name: libjade-logs-test.tar.gz
55+
path: test/libjade-logs-test.tar.gz
56+
57+
58+
59+
bench1:
60+
needs: [compile]
61+
runs-on: [self-hosted, linux, X64, amd64-main]
62+
steps:
63+
- name: checkout
64+
uses: actions/checkout@v3
65+
66+
- name: compile
67+
run: JASMIN=$(which_jasminc) make -j$JOBS -C src/ CI=1 FILTER=crypto_kem/mlkem/% default
68+
69+
- name: run
70+
run: JASMIN=$(which_jasminc) make -j$JOBS -C bench/ CI=1 FILTER=crypto_kem/mlkem/% DEFINE='-DTIMINGS=10' run
71+
72+
- name: print logs
73+
run: JASMIN=$(which_jasminc) make -C bench/ CI=1 FILTER=crypto_kem/mlkem/% reporter
74+
75+
- name: return error if there are any errors
76+
run: make -C bench/ CI=1 FILTER=crypto_kem/mlkem/% err
77+
78+
- name: libjade-logs-bench.tar.gz - contains non-empty logs and errors
79+
if: always()
80+
uses: actions/upload-artifact@v3
81+
with:
82+
name: libjade-logs-bench1.tar.gz
83+
path: bench/libjade-logs-bench.tar.gz
84+
85+
86+
87+
bench2:
88+
needs: [compile]
89+
runs-on: [self-hosted, linux, X64, amd64-main]
90+
steps:
91+
- name: checkout
92+
uses: actions/checkout@v3
93+
94+
- name: compile
95+
run: JASMIN=$(which_jasminc) make -j$JOBS -C src/ CI=1 FILTER=crypto_kem/mlkem/% default
96+
97+
- name: run
98+
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';
99+
100+
- name: print logs
101+
run: JASMIN=$(which_jasminc) make -C bench/ CI=1 FILTER=crypto_kem/mlkem/% reporter
102+
103+
- name: return error if there are any errors
104+
run: make -C bench/ CI=1 FILTER=crypto_kem/mlkem/% err
105+
106+
- name: libjade-logs-bench.tar.gz - contains non-empty logs and errors
107+
if: always()
108+
uses: actions/upload-artifact@v3
109+
with:
110+
name: libjade-logs-bench2.tar.gz
111+
path: bench/libjade-logs-bench.tar.gz
112+
113+

0 commit comments

Comments
 (0)