Advertisement
Guest User

appveyor.yml

a guest
Oct 14th, 2019
110
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.58 KB | None | 0 0
  1. platform:
  2. - x64
  3.  
  4. environment:
  5. fast_finish: true
  6. matrix:
  7. - VSVER: 14
  8.  
  9. configuration:
  10. - shared
  11.  
  12. before_build:
  13. - ps: >-
  14. If ($env:VCVARS_PLATFORM="amd64")
  15. $env:TARGET="VC-WIN64A-masm"
  16. }
  17. - ps: >-
  18. If ($env:Configuration -Match "shared") {
  19. $env:SHARED="no-makedepend"
  20. }
  21. - ps: $env:VSCOMNTOOLS=(Get-Content ("env:VS" + "$env:VSVER" + "0COMNTOOLS"))
  22. - call "%VSCOMNTOOLS%\..\..\VC\vcvarsall.bat" %VCVARS_PLATFORM%
  23. - mkdir _build
  24. - cd _build
  25. - perl ..\Configure %TARGET% %SHARED%
  26. - perl configdata.pm --dump
  27. - cd ..
  28. - ps: >-
  29. if (-not $env:APPVEYOR_PULL_REQUEST_NUMBER`
  30. -or (&git log -2 | Select-String "\[extended tests\]") ) {
  31. $env:EXTENDED_TESTS="yes"
  32. }
  33.  
  34. build_script:
  35. - cd _build
  36. - ps: >-
  37. If ($env:Configuration -Match "shared" -or $env:EXTENDED_TESTS) {
  38. cmd /c "nmake build_all_generated 2>&1"
  39. cmd /c "nmake PERL=no-perl 2>&1"
  40. }
  41. - cd ..
  42.  
  43. test_script:
  44. - cd _build
  45. - ps: >-
  46. If ($env:Configuration -Match "shared" -or $env:EXTENDED_TESTS) {
  47. if ($env:EXTENDED_TESTS) {
  48. cmd /c "nmake test HARNESS_VERBOSE_FAILURE=yes 2>&1"
  49. } Else {
  50. cmd /c "nmake test HARNESS_VERBOSE_FAILURE=yes TESTS=-test_fuzz 2>&1"
  51. }
  52. }
  53. - ps: >-
  54. if ($env:EXTENDED_TESTS) {
  55. mkdir ..\_install
  56. cmd /c "nmake install DESTDIR=..\_install 2>&1"
  57. }
  58. - cd ..
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement