From 24881fade8a36f20f3e1f4841b5777bf4054edf2 Mon Sep 17 00:00:00 2001 From: Kris Kwiatkowski Date: Thu, 17 Jun 2021 07:48:44 +0100 Subject: [PATCH] Run KAT in separated step --- .github/workflows/main.yml | 23 +++++++++++++++++++---- 1 file changed, 19 insertions(+), 4 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index ae566113..d2c3ca56 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -45,10 +45,6 @@ jobs: cc: clang cxx: clang++ flags: -DCMAKE_BUILD_TYPE=Release -DADDRSAN=1 - - name: clang-debug-msan-build - cc: clang - cxx: clang++ - flags: -DCMAKE_BUILD_TYPE=Release -DMEMSAN=1 steps: - uses: actions/checkout@v1 with: @@ -65,6 +61,25 @@ jobs: - name: Build Rust bindings run: | 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 run: | cd test/katrunner &&