Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.
 
 
 

37 lignes
2.2 KiB

  1. version: 1.0.{build}
  2. image: Visual Studio 2017
  3. build:
  4. verbosity: minimal
  5. shallow_clone: false
  6. environment:
  7. PQCLEAN_ONLY_DIFF: 1
  8. 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
  9. matrix:
  10. - BITS: 64
  11. - BITS: 32
  12. init:
  13. - call "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvars%BITS%.bat"
  14. # Download AStyle 3.1: first enable strong crypto in Invoke-WebRequest
  15. - ps: Set-ItemProperty -Path "HKLM:\SOFTWARE\Wow6432Node\Microsoft\.NetFramework\v4.0.30319" -Name 'SchUseStrongCrypto' -Value '1' -Type DWord
  16. - ps: Set-ItemProperty -Path "HKLM:\SOFTWARE\Microsoft\.NetFramework\v4.0.30319" -Name "SchUseStrongCrypto" -Value '1' -Type DWord
  17. # Add Python to PATH
  18. - set PATH="C:\\Python37";"C:\\Python37\Scripts";%PATH%
  19. build_script:
  20. - git config --replace-all remote.origin.fetch +refs/heads/*:refs/remotes/origin/*
  21. - git fetch --all
  22. - git checkout %APPVEYOR_REPO_BRANCH%
  23. - git reset --hard %APPVEYOR_REPO_COMMIT%
  24. - git diff --name-only origin/master
  25. - python -m pip install -r requirements.txt
  26. - cd test
  27. # Download Astyle to local folder because putting it in PATH doesn't work
  28. - ps: Invoke-WebRequest -OutFile "astyle.exe" "https://rded.nl/pqclean/AStyle.exe"
  29. # Run tests
  30. - python -m nose -v --rednose