Reference implementations of PQC
25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

main.yml 715 B

3 년 전
3 년 전
1234567891011121314151617181920212223242526272829303132
  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