Reference implementations of PQC
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

33 lines
715 B

  1. name: PQC
  2. on:
  3. - push
  4. - pull_request
  5. jobs:
  6. unit-test:
  7. name: Unit tests
  8. runs-on: [ubuntu-20.04]
  9. steps:
  10. - uses: actions/checkout@v1
  11. with:
  12. submodules: true
  13. - name: build
  14. run: |
  15. mkdir -p build
  16. cd build
  17. cmake -DCMAKE_BUILD_TYPE=Release ..
  18. make
  19. - name: run tests
  20. run: |
  21. cd build && ./ut
  22. - name: Build Rust bindings
  23. run: |
  24. cd src/rustapi/pqc-sys && cargo build
  25. - name: Run KAT tests
  26. run: |
  27. cd test/katrunner &&
  28. curl http://amongbytes.com/~flowher/permalinks/kat.zip --output kat.zip
  29. unzip kat.zip
  30. cargo run -- --katdir KAT