-
Notifications
You must be signed in to change notification settings - Fork 19
116 lines (85 loc) · 3.57 KB
/
amd64-linux-hakyber-mlkem.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
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@v4
- 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@v4
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@v4
- name: compile src
run: JASMIN=$(which_jasminc) make -j$JOBS -C src/ CI=1 FILTER=./crypto_kem/mlkem/% default
- name: compile tests
run: JASMIN=$(which_jasminc) make -j$JOBS -C test/ CI=1 FILTER=../src/crypto_kem/mlkem/% default
- name: print logs
run: JASMIN=$(which_jasminc) make -C test/ CI=1 FILTER=../src/crypto_kem/mlkem/% reporter
- name: return error if there are any errors
run: make -C test/ CI=1 FILTER=../src/crypto_kem/mlkem/% err
- name: libjade-logs-test.tar.gz - contains non-empty logs and errors
if: always()
uses: actions/upload-artifact@v4
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@v4
- 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=../src/crypto_kem/mlkem/% DEFINE='-DTIMINGS=10' run
- name: print logs
run: JASMIN=$(which_jasminc) make -C bench/ CI=1 FILTER=../src/crypto_kem/mlkem/% reporter
- name: return error if there are any errors
run: make -C bench/ CI=1 FILTER=../src/crypto_kem/mlkem/% err
- name: libjade-logs-bench.tar.gz - contains non-empty logs and errors
if: always()
uses: actions/upload-artifact@v4
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@v4
- 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=../src/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=../src/crypto_kem/mlkem/% reporter
- name: return error if there are any errors
run: make -C bench/ CI=1 FILTER=../src/crypto_kem/mlkem/% err
- name: libjade-logs-bench.tar.gz - contains non-empty logs and errors
if: always()
uses: actions/upload-artifact@v4
with:
name: libjade-logs-bench2.tar.gz
path: bench/libjade-logs-bench.tar.gz