2021-03-24 23:39:12 +00:00
|
|
|
name: PQC
|
|
|
|
|
|
|
|
on:
|
|
|
|
- push
|
|
|
|
- pull_request
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
unit-test:
|
|
|
|
name: Unit tests
|
|
|
|
runs-on: [ubuntu-20.04]
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v1
|
|
|
|
with:
|
|
|
|
submodules: true
|
|
|
|
- name: build
|
|
|
|
run: |
|
|
|
|
mkdir -p build
|
|
|
|
cd build
|
|
|
|
cmake -DCMAKE_BUILD_TYPE=Release ..
|
|
|
|
make
|
|
|
|
- name: run tests
|
|
|
|
run: |
|
2021-03-24 23:55:30 +00:00
|
|
|
cd build && ./ut
|
2021-03-25 00:08:14 +00:00
|
|
|
- name: Build Rust bindings
|
|
|
|
run: |
|
|
|
|
cd src/rustapi/pqc-sys && cargo build
|