-
Notifications
You must be signed in to change notification settings - Fork 970
75 lines (65 loc) · 1.88 KB
/
wycheproof.yml
File metadata and controls
75 lines (65 loc) · 1.88 KB
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
name: Wycheproof Vectors
# START OF COMMON SECTION
on:
push:
branches: [ 'master', 'main', 'release/**' ]
pull_request:
branches: [ '*' ]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
# END OF COMMON SECTION
jobs:
wycheproof:
name: wycheproof vectors
if: github.repository_owner == 'wolfssl'
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- name: Checkout wolfSSL
uses: actions/checkout@v4
- name: Build wolfSSL
run: |
autoreconf -i
./configure \
--enable-cryptocb \
--enable-ecc \
--enable-aesgcm \
--enable-aesccm \
--enable-aeseax \
--enable-aessiv \
--enable-aesxts \
--enable-keywrap \
--enable-siphash \
--enable-hkdf \
--enable-mldsa \
--enable-mlkem \
--enable-slhdsa \
--disable-examples
make -j$(nproc)
- name: Checkout wychcheck
uses: actions/checkout@v4
with:
repository: wolfSSL/wychcheck
path: wychcheck
- name: Init wycheproof vectors submodule
working-directory: wychcheck
run: git submodule update --init wycheproof
- name: Build wolfcrypt-check
working-directory: wychcheck
run: |
cmake -B build -DWOLFSSL_DIR=${{ github.workspace }}
cmake --build build -j$(nproc)
- name: Run wycheproof tests
working-directory: wychcheck
run: |
ctest --test-dir build \
--output-on-failure \
--parallel $(nproc) \
--output-junit test-results.xml
- name: Upload test results
if: always()
uses: actions/upload-artifact@v4
with:
name: wycheproof-results
path: wychcheck/test-results.xml