mirror of
https://github.com/henrydcase/pqc.git
synced 2024-11-22 07:35:38 +00:00
Run KAT in separated step
This commit is contained in:
parent
2083ffc326
commit
7bf2710c15
23
.github/workflows/main.yml
vendored
23
.github/workflows/main.yml
vendored
@ -45,10 +45,6 @@ jobs:
|
|||||||
cc: clang
|
cc: clang
|
||||||
cxx: clang++
|
cxx: clang++
|
||||||
flags: -DCMAKE_BUILD_TYPE=Release -DADDRSAN=1
|
flags: -DCMAKE_BUILD_TYPE=Release -DADDRSAN=1
|
||||||
- name: clang-debug-msan-build
|
|
||||||
cc: clang
|
|
||||||
cxx: clang++
|
|
||||||
flags: -DCMAKE_BUILD_TYPE=Release -DMEMSAN=1
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v1
|
- uses: actions/checkout@v1
|
||||||
with:
|
with:
|
||||||
@ -65,6 +61,25 @@ jobs:
|
|||||||
- name: Build Rust bindings
|
- name: Build Rust bindings
|
||||||
run: |
|
run: |
|
||||||
cd src/rustapi/pqc-sys && cargo build
|
cd src/rustapi/pqc-sys && cargo build
|
||||||
|
KAT:
|
||||||
|
name: Known Answer Tests
|
||||||
|
runs-on: [ubuntu-20.04]
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v1
|
||||||
|
with:
|
||||||
|
submodules: true
|
||||||
|
- name: build
|
||||||
|
run: |
|
||||||
|
mkdir -p build
|
||||||
|
cd build
|
||||||
|
CC=clang CXX=clang++ cmake -DCMAKE_BUILD_TYPE=Release ..
|
||||||
|
make
|
||||||
|
- name: run tests
|
||||||
|
run: |
|
||||||
|
cd build && ./ut
|
||||||
|
- name: Build Rust bindings
|
||||||
|
run: |
|
||||||
|
cd src/rustapi/pqc-sys && cargo build
|
||||||
- name: Run KAT tests
|
- name: Run KAT tests
|
||||||
run: |
|
run: |
|
||||||
cd test/katrunner &&
|
cd test/katrunner &&
|
||||||
|
Loading…
Reference in New Issue
Block a user