Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

119 строки
6.3 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_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. services:
  29. - docker
  30. - name: "KEMs: ARM64 + Clang"
  31. os: linux
  32. arch: arm64
  33. compiler: clang
  34. before_script:
  35. - export COMMIT=$(git rev-parse HEAD)
  36. - git config --replace-all remote.origin.fetch +refs/heads/*:refs/remotes/origin/*
  37. - git fetch --unshallow
  38. - git checkout $TRAVIS_BRANCH
  39. - git reset --hard $COMMIT
  40. script:
  41. - travis_wait 60 docker run -e CI=true -e PQCLEAN_ONLY_TYPES -e PQCLEAN_ONLY_DIFF --rm -v ~/.ccache:/ccache -v `pwd`:`pwd` -w `pwd` "pqclean/ci-container:arm64" /bin/bash -c "
  42. uname -a &&
  43. export CCACHE_NOSTATS=1 &&
  44. export CCACHE_DIR=/ccache &&
  45. export CCACHE_SLOPPINESS=include_file_mtime &&
  46. export CC=\"ccache ${CC}\" &&
  47. pip3 install -r requirements.txt &&
  48. mkdir test-results &&
  49. cd test && python3 -m pytest --verbose --junitxml=test-results/pytest/results.xml --numprocesses=auto"
  50. env:
  51. PQCLEAN_ONLY_TYPES: kem
  52. PQCLEAN_ONLY_DIFF: 1
  53. services:
  54. - docker
  55. - name: "Signs: ARM64 + GCC"
  56. os: linux
  57. arch: arm64
  58. compiler: gcc
  59. before_script:
  60. - export COMMIT=$(git rev-parse HEAD)
  61. - git config --replace-all remote.origin.fetch +refs/heads/*:refs/remotes/origin/*
  62. - git fetch --unshallow
  63. - git checkout $TRAVIS_BRANCH
  64. - git reset --hard $COMMIT
  65. script:
  66. - travis_wait 60 docker run -e CI=true -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 "
  67. uname -a &&
  68. export CCACHE_NOSTATS=1 &&
  69. export CCACHE_DIR=/ccache &&
  70. export CCACHE_SLOPPINESS=include_file_mtime &&
  71. export CC=\"ccache ${CC}\" &&
  72. pip3 install -r requirements.txt &&
  73. mkdir test-results &&
  74. cd test && python3 -m pytest --verbose --junitxml=test-results/pytest/results.xml --numprocesses=auto"
  75. env:
  76. PQCLEAN_ONLY_TYPES: sign
  77. PQCLEAN_ONLY_DIFF: 1
  78. 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
  79. services:
  80. - docker
  81. - name: "signs: ARM64 + Clang"
  82. os: linux
  83. arch: arm64
  84. compiler: clang
  85. before_script:
  86. - export COMMIT=$(git rev-parse HEAD)
  87. - git config --replace-all remote.origin.fetch +refs/heads/*:refs/remotes/origin/*
  88. - git fetch --unshallow
  89. - git checkout $TRAVIS_BRANCH
  90. - git reset --hard $COMMIT
  91. script:
  92. - travis_wait 60 docker run -e CI=true -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 "
  93. uname -a &&
  94. export CCACHE_NOSTATS=1 &&
  95. export CCACHE_DIR=/ccache &&
  96. export CCACHE_SLOPPINESS=include_file_mtime &&
  97. export CC=\"ccache ${CC}\" &&
  98. pip3 install -r requirements.txt &&
  99. mkdir test-results &&
  100. cd test && python3 -m pytest --verbose --junitxml=test-results/pytest/results.xml --numprocesses=auto"
  101. env:
  102. PQCLEAN_ONLY_TYPES: sign
  103. PQCLEAN_ONLY_DIFF: 1
  104. 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
  105. services:
  106. - docker
  107. cache:
  108. directories:
  109. - $HOME/Library/Caches/pip
  110. - $HOME/Library/Caches/Homebrew
  111. - $HOME/.ccache
  112. before_cache:
  113. - brew cleanup
  114. # vim: set ft=yaml ts=2 sw=2 tw=0 et :