Reference implementations of PQC
Ви не можете вибрати більше 25 тем Теми мають розпочинатися з літери або цифри, можуть містити дефіси (-) і не повинні перевищувати 35 символів.
 
 
 
 

123 рядки
6.6 KiB

  1. language: c
  2. matrix:
  3. include:
  4. # Arm64 builds
  5. - name: "KEMs: ARM64 + GCC"
  6. os: linux
  7. arch: arm64
  8. compiler: gcc
  9. before_script:
  10. - export COMMIT=$(git rev-parse HEAD)
  11. - git config --replace-all remote.origin.fetch +refs/heads/*:refs/remotes/origin/*
  12. - git fetch --unshallow
  13. - git checkout $TRAVIS_BRANCH
  14. - git reset --hard $COMMIT
  15. script:
  16. - travis_wait 60 docker run -e CI=true -e PQCLEAN_SKIP_TESTS -e PQCLEAN_ONLY_TYPES -e PQCLEAN_ONLY_DIFF --rm -v ~/.ccache:/ccache -v `pwd`:`pwd` -w `pwd` "pqclean/ci-container:arm64" /bin/bash -c "
  17. uname -a &&
  18. export CCACHE_DIR=/ccache &&
  19. export CCACHE_NOSTATS=1 &&
  20. export CCACHE_SLOPPINESS=include_file_mtime &&
  21. export CC=\"ccache ${CC}\" &&
  22. pip3 install -r requirements.txt &&
  23. mkdir test-results &&
  24. cd test && python3 -m pytest --verbose --junitxml=test-results/pytest/results.xml --numprocesses=auto"
  25. env:
  26. PQCLEAN_ONLY_TYPES: kem
  27. PQCLEAN_ONLY_DIFF: 1
  28. PQCLEAN_SKIP_TESTS: valgrind,sanitizer
  29. services:
  30. - docker
  31. - name: "KEMs: ARM64 + Clang"
  32. os: linux
  33. arch: arm64
  34. compiler: clang
  35. before_script:
  36. - export COMMIT=$(git rev-parse HEAD)
  37. - git config --replace-all remote.origin.fetch +refs/heads/*:refs/remotes/origin/*
  38. - git fetch --unshallow
  39. - git checkout $TRAVIS_BRANCH
  40. - git reset --hard $COMMIT
  41. script:
  42. - travis_wait 60 docker run -e CI=true -e PQCLEAN_SKIP_TESTS -e PQCLEAN_ONLY_TYPES -e PQCLEAN_ONLY_DIFF --rm -v ~/.ccache:/ccache -v `pwd`:`pwd` -w `pwd` "pqclean/ci-container:arm64" /bin/bash -c "
  43. uname -a &&
  44. export CCACHE_NOSTATS=1 &&
  45. export CCACHE_DIR=/ccache &&
  46. export CCACHE_SLOPPINESS=include_file_mtime &&
  47. export CC=\"ccache ${CC}\" &&
  48. pip3 install -r requirements.txt &&
  49. mkdir test-results &&
  50. cd test && python3 -m pytest --verbose --junitxml=test-results/pytest/results.xml --numprocesses=auto"
  51. env:
  52. PQCLEAN_ONLY_TYPES: kem
  53. PQCLEAN_ONLY_DIFF: 1
  54. PQCLEAN_SKIP_TESTS: valgrind,sanitizer
  55. services:
  56. - docker
  57. - name: "Signs: ARM64 + GCC"
  58. os: linux
  59. arch: arm64
  60. compiler: gcc
  61. before_script:
  62. - export COMMIT=$(git rev-parse HEAD)
  63. - git config --replace-all remote.origin.fetch +refs/heads/*:refs/remotes/origin/*
  64. - git fetch --unshallow
  65. - git checkout $TRAVIS_BRANCH
  66. - git reset --hard $COMMIT
  67. script:
  68. - travis_wait 60 docker run -e CI=true -e PQCLEAN_SKIP_TESTS -e PQCLEAN_ONLY_TYPES -e PQCLEAN_ONLY_DIFF -e PQCLEAN_SKIP_SCHEMES --rm -v ~/.ccache:/ccache -v `pwd`:`pwd` -w `pwd` "pqclean/ci-container:arm64" /bin/bash -c "
  69. uname -a &&
  70. export CCACHE_NOSTATS=1 &&
  71. export CCACHE_DIR=/ccache &&
  72. export CCACHE_SLOPPINESS=include_file_mtime &&
  73. export CC=\"ccache ${CC}\" &&
  74. pip3 install -r requirements.txt &&
  75. mkdir test-results &&
  76. cd test && python3 -m pytest --verbose --junitxml=test-results/pytest/results.xml --numprocesses=auto"
  77. env:
  78. PQCLEAN_ONLY_TYPES: sign
  79. PQCLEAN_ONLY_DIFF: 1
  80. PQCLEAN_SKIP_SCHEMES: sphincs-haraka-128f-robust,sphincs-haraka-192s-robust,sphincs-sha256-128f-robust,sphincs-sha256-192s-robust,sphincs-shake256-128f-robust,sphincs-shake256-192s-robust,sphincs-haraka-128f-simple,sphincs-haraka-192s-simple,sphincs-sha256-128f-simple,sphincs-sha256-192s-simple,sphincs-shake256-128f-simple,sphincs-shake256-192s-simple,sphincs-haraka-128s-robust,sphincs-haraka-256f-robust,sphincs-sha256-128s-robust,sphincs-sha256-256f-robust,sphincs-shake256-128s-robust,sphincs-shake256-256f-robust,sphincs-haraka-128s-simple,sphincs-haraka-256f-simple,sphincs-sha256-128s-simple,sphincs-sha256-256f-simple,sphincs-shake256-128s-simple,sphincs-shake256-256f-simple,sphincs-haraka-192f-robust,sphincs-haraka-256s-robust,sphincs-sha256-192f-robust,sphincs-sha256-256s-robust,sphincs-shake256-192f-robust,sphincs-shake256-256s-robust,sphincs-haraka-192f-simple,sphincs-haraka-256s-simple,sphincs-sha256-192f-simple,sphincs-sha256-256s-simple,sphincs-shake256-192f-simple,sphincs-shake256-256s-simple
  81. PQCLEAN_SKIP_TESTS: valgrind,sanitizer
  82. services:
  83. - docker
  84. - name: "signs: ARM64 + Clang"
  85. os: linux
  86. arch: arm64
  87. compiler: clang
  88. before_script:
  89. - export COMMIT=$(git rev-parse HEAD)
  90. - git config --replace-all remote.origin.fetch +refs/heads/*:refs/remotes/origin/*
  91. - git fetch --unshallow
  92. - git checkout $TRAVIS_BRANCH
  93. - git reset --hard $COMMIT
  94. script:
  95. - travis_wait 60 docker run -e CI=true -e PQCLEAN_SKIP_TESTS -e PQCLEAN_ONLY_TYPES -e PQCLEAN_ONLY_DIFF=1 -e PQCLEAN_SKIP_SCHEMES --rm -v ~/.ccache:/ccache -v `pwd`:`pwd` -w `pwd` "pqclean/ci-container:arm64" /bin/bash -c "
  96. uname -a &&
  97. export CCACHE_NOSTATS=1 &&
  98. export CCACHE_DIR=/ccache &&
  99. export CCACHE_SLOPPINESS=include_file_mtime &&
  100. export CC=\"ccache ${CC}\" &&
  101. pip3 install -r requirements.txt &&
  102. mkdir test-results &&
  103. cd test && python3 -m pytest --verbose --junitxml=test-results/pytest/results.xml --numprocesses=auto"
  104. env:
  105. PQCLEAN_ONLY_TYPES: sign
  106. PQCLEAN_ONLY_DIFF: 1
  107. PQCLEAN_SKIP_SCHEMES: sphincs-haraka-128f-robust,sphincs-haraka-192s-robust,sphincs-sha256-128f-robust,sphincs-sha256-192s-robust,sphincs-shake256-128f-robust,sphincs-shake256-192s-robust,sphincs-haraka-128f-simple,sphincs-haraka-192s-simple,sphincs-sha256-128f-simple,sphincs-sha256-192s-simple,sphincs-shake256-128f-simple,sphincs-shake256-192s-simple,sphincs-haraka-128s-robust,sphincs-haraka-256f-robust,sphincs-sha256-128s-robust,sphincs-sha256-256f-robust,sphincs-shake256-128s-robust,sphincs-shake256-256f-robust,sphincs-haraka-128s-simple,sphincs-haraka-256f-simple,sphincs-sha256-128s-simple,sphincs-sha256-256f-simple,sphincs-shake256-128s-simple,sphincs-shake256-256f-simple,sphincs-haraka-192f-robust,sphincs-haraka-256s-robust,sphincs-sha256-192f-robust,sphincs-sha256-256s-robust,sphincs-shake256-192f-robust,sphincs-shake256-256s-robust,sphincs-haraka-192f-simple,sphincs-haraka-256s-simple,sphincs-sha256-192f-simple,sphincs-sha256-256s-simple,sphincs-shake256-192f-simple,sphincs-shake256-256s-simple
  108. PQCLEAN_SKIP_TESTS: valgrind,sanitizer
  109. services:
  110. - docker
  111. cache:
  112. directories:
  113. - $HOME/Library/Caches/pip
  114. - $HOME/Library/Caches/Homebrew
  115. - $HOME/.ccache
  116. before_cache:
  117. - brew cleanup
  118. # vim: set ft=yaml ts=2 sw=2 tw=0 et :